diff --git a/.flake8 b/.flake8 index b0cbb23..5fa04ac 100644 --- a/.flake8 +++ b/.flake8 @@ -3,7 +3,7 @@ import-order-style = google docstring-convention = google application-import-names = adijif,tests select = ANN,B,B9,BLK,C,D,DAR,E,F,I,S,W -ignore = E203,E501,W503,E722,S101,ANN101,I100,I101 +ignore = E203,E501,W503,E722,S101,ANN101,I100,I101,BLK100 exclude = docs,*_bf.py max-line-length = 80 per-file-ignores = diff --git a/Makefile b/Makefile index 60b50a7..1baa1b4 100644 --- a/Makefile +++ b/Makefile @@ -48,27 +48,27 @@ clean-test: ## remove test and coverage artifacts rm -fr .pytest_cache test: ## run tests - poetry run nox -rs tests + nox -rs tests testp: ## run tests parallel - poetry run nox -rs testsp + nox -rs testsp testnb: ## run notebook tests - poetry run nox -rs testsnb + nox -rs testsnb coverage: ## run test with coverage enabled - poetry run nox -rs coverage + nox -rs coverage lint: ## format and lint code - poetry run nox -rs format lint + nox -rs format lint docs: ## build documentation - poetry run nox -rs docs + nox -rs docs -install: ## install module - poetry install +# install: ## install module +# poetry install -dev: ## setup development environment - @poetry --version || curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - - poetry shell - poetry install --no-root \ No newline at end of file +# dev: ## setup development environment +# @poetry --version || curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - +# poetry shell +# poetry install --no-root \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index 992c8f7..1722e49 100644 --- a/noxfile.py +++ b/noxfile.py @@ -37,13 +37,13 @@ def lint(session): "flake8", "flake8-annotations", "flake8-bandit", - "flake8-black", + # "flake8-black", "flake8-docstrings", # "flake8-isort", "flake8-bugbear", "flake8-import-order", ) - session.run("flake8", *args) + session.run("flake8", "--config", ".flake8", *args) @nox.session(python=multi_python_versions_support)