diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d997a06..7ed6336 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,10 +26,11 @@ jobs: python-version: ${{ matrix.python-version }} - name: Lint with Pylint run: | - poetry run pylint ${{ matrix.path }} + poetry run pylint atheneum #'${{github.workspace}} + poetry run pylint test/*.py # - name: Static type checking # run: | - # poetry run mypy ${{ matrix.path }} + # poetry run mypy atheneum #'${{github.workspace}} - name: Test run: | source $VENV diff --git a/atheneum/atheneum.py b/atheneum/atheneum.py index 7bf366b..c80c593 100644 --- a/atheneum/atheneum.py +++ b/atheneum/atheneum.py @@ -1,3 +1,17 @@ -class Atheneum: - def answer(self): +"""A boilerplate module for Python packate/library design""" + +class Atheneum: #pylint:disable=R0903 + """The atheneum class has all the answers""" + + def __init__(self): #pylint:disable=C0116 + pass + + def answer(self, exclamation_str): + """ + Return the answer to Life, the Universe, and Everything. + + :param exclamation_str: Print how you feel about the answer + """ + + print(exclamation_str) return 42