Skip to content

Commit

Permalink
🔧 Fixed finding src by correcting import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gy-mate committed Jun 5, 2024
1 parent f410bd5 commit a15f1f8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Formula/moodle-to-vikwikiquiz.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class MoodleToVikwikiquiz < Formula

desc "A CLI for converting a graded Moodle quiz HTML to a vik.wiki quiz wikitext."
homepage "https://github.com/gy-mate/homebrew-moodle-to-vikwikiquiz"
url "https://github.com/gy-mate/homebrew-moodle-to-vikwikiquiz/archive/1.0.17.tar.gz"
url "https://github.com/gy-mate/homebrew-moodle-to-vikwikiquiz/archive/1.0.18.tar.gz"
license "GPl-3.0"
sha256 ""
head "https://github.com/gy-mate/homebrew-moodle-to-vikwikiquiz.git"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
description="A CLI for converting a graded Moodle quiz HTML to a vik.wiki quiz wikitext.",
author="Máté Gyöngyösi",
url="https://github.com/gy-mate/homebrew-moodle-to-vikwikiquiz",
version="1.0.17",
version="1.0.18",
packages=find_packages(where="src"),
package_dir={"": "src"},
entry_points={
Expand Down
4 changes: 2 additions & 2 deletions src/moodle_to_vikwikiquiz/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import os.path
import sys

from src.moodle_to_vikwikiquiz.grading_types import GradingType
from src.moodle_to_vikwikiquiz.quiz import Quiz
from .grading_types import GradingType
from .quiz import Quiz


def main() -> None:
Expand Down
4 changes: 2 additions & 2 deletions src/moodle_to_vikwikiquiz/question.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from src.moodle_to_vikwikiquiz.grading_types import GradingType
from src.moodle_to_vikwikiquiz.question_types import QuestionType
from .grading_types import GradingType
from .question_types import QuestionType


class Question:
Expand Down
6 changes: 3 additions & 3 deletions src/moodle_to_vikwikiquiz/quiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from bs4 import BeautifulSoup

from src.moodle_to_vikwikiquiz.grading_types import GradingType
from src.moodle_to_vikwikiquiz.question_types import QuestionType
from src.moodle_to_vikwikiquiz.quiz_helpers import *
from .grading_types import GradingType
from .question_types import QuestionType
from .quiz_helpers import *


class Quiz:
Expand Down
2 changes: 1 addition & 1 deletion src/moodle_to_vikwikiquiz/quiz_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from bs4 import Tag

from src.moodle_to_vikwikiquiz.question import Question
from .question import Question


def get_grading_of_question(question: Tag) -> tuple[bool, float, float]:
Expand Down

0 comments on commit a15f1f8

Please sign in to comment.