Skip to content

Commit

Permalink
Merge pull request #14 from cclauss/make-pyupgrade-mandatory
Browse files Browse the repository at this point in the history
Make pytest and pyupgrade mandatory tests
  • Loading branch information
ghutchis authored Nov 17, 2021
2 parents eddfee4 + 5be8a70 commit 582879c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/lint_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- run: pip install -r requirements.txt || pip install --editable . || true
- run: mkdir --parents --verbose .mypy_cache
- run: mypy --ignore-missing-imports --install-types --non-interactive .
- run: pytest . || true
- run: pytest --doctest-modules . || true
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true
- run: pytest --doctest-modules .
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py
- run: safety check
9 changes: 9 additions & 0 deletions dalton.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@


def getOptions():
"""
>>> opts = getOptions()
>>> "userOptions" in opts
True
>>> "inputMoleculeFormat" in opts
True
>>> len(opts["userOptions"])
6
"""
userOptions = {}

userOptions['Title'] = {}
Expand Down

0 comments on commit 582879c

Please sign in to comment.