Skip to content

Commit

Permalink
Fix pylint errors and actions matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaya-mankad committed Nov 29, 2023
1 parent 3682658 commit 76f06c2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 16 additions & 2 deletions atheneum/atheneum.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 76f06c2

Please sign in to comment.