Skip to content

Commit

Permalink
tweak tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
NodeJSmith committed Jun 13, 2024
1 parent c1ddf17 commit a08de7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/python_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ jobs:
python -m pip install --upgrade pip
pip install tox
# - name: Run tests
# run: tox --skip-env lint -v
- name: Run tests
run: tox --skip-env lint -v

- name: mkdocs build
run: |
pip install '.[dev,docs]'
mkdocs build -v
# - name: Run lint checks
# run: tox -e lint -v
- name: Run lint checks
run: tox -e lint -v
6 changes: 1 addition & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@ python =
3.10: py310

[testenv:lint]
extras =
dev
doc
deps =
.[dev,doc]
commands =
ruff format src
ruff check src
mypy -m src --exclude ^(tests|examples)
python -m build
mkdocs build
mkdocs build -v
twine check dist/*

[testenv]
allowlist_externals = ruff,mypy,mkdocs,twine
recreate = False
passenv = *
setenv =
PYTHONPATH = {toxinidir}
Expand Down

0 comments on commit a08de7a

Please sign in to comment.