Skip to content

Commit

Permalink
Enabled nox to recognize docstring formatting errors (#122)
Browse files Browse the repository at this point in the history
* enables trivial orchestrators

* added flake8-docstring, fixed arg to flake8 ,fixed formatting on noxfile

* removed accidental commit from other PR
  • Loading branch information
davidmrdavid authored Jun 10, 2020
1 parent bc0b459 commit 5c81db9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ def tests(session):
# same as pip install -r -requirements.txt
session.install("-r", "requirements.txt")
session.install("pytest")
session.run("pytest","-v","tests")
session.run("pytest", "-v", "tests")


@nox.session(python="3.7")
def lint(session):
session.install("flake8")
session.run("flake8","./azure/**py")

session.install("flake8-docstrings")
session.run("flake8", "./azure/")

0 comments on commit 5c81db9

Please sign in to comment.