Skip to content

Commit

Permalink
Remove use of poetry
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Sep 26, 2024
1 parent f22a9ab commit 5ea1456
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
# 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
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5ea1456

Please sign in to comment.