Commit 8249bf9f authored by Adam Rogowiec's avatar Adam Rogowiec Committed by Scott Cyphers

[Py] setup.py code style formatting. (#2164)

* Uniform quotes style .

* Fix comment style.

* Check setup.py with flake8.

- Fix flake8 errors.

* Move function out of class scope.

* Fix function paramter list

* Fix formatting.
parent 606f3f93
This diff is collapsed.
...@@ -22,7 +22,7 @@ deps = ...@@ -22,7 +22,7 @@ deps =
flake8-bugbear flake8-bugbear
commands= commands=
{envbindir}/python setup.py develop {envbindir}/python setup.py develop
flake8 {posargs:pyngraph/ ngraph/ examples/} flake8 {posargs:pyngraph/ ngraph/ examples/ setup.py}
flake8 --ignore=D100,D101,D102,D103,D104,D105,D107,W503 test/ # ignore lack of docs in tests flake8 --ignore=D100,D101,D102,D103,D104,D105,D107,W503 test/ # ignore lack of docs in tests
mypy --config-file=tox.ini {posargs:pyngraph/ ngraph/ examples/} # Use MyPy in Python 3 only mypy --config-file=tox.ini {posargs:pyngraph/ ngraph/ examples/} # Use MyPy in Python 3 only
pytest {posargs:test/} pytest {posargs:test/}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment