Skip to content

Commit

Permalink
Merge branch 'master' into fix-protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm authored Oct 26, 2024
2 parents a956b00 + afad2c7 commit 26fd117
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ src = ["src"]

[tool.ruff.lint]
extend-select = [
"W", # pycodestyle warnings
"B0", # flake8-bugbear
"I", # isort
"PGH", # pygrep-hooks
"UP", # pyupgrade
"B0", # flake8-bugbear
"W", # pycodestyle warnings
]
ignore = [
"S307",
Expand All @@ -98,19 +98,15 @@ strict = true
pretty = true

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = pypy3, py38, py39, py310, py311, py312, py313
env_list = ["py38", "py39", "py310", "py311", "py312", "py313"]
skip_missing_interpreters = true
minversion = 4.0

[testenv]
extras = test
commands = coverage run -m pytest {posargs}
package = editable
[tool.tox.env_run_base]
commands = [["coverage", "run", "-m", "pytest", { replace = "posargs", extend = true }]]
package = "editable"
extras = ["test"]

[testenv:docs]
extras = doc
package = editable
commands = sphinx-build -W -n docs build/sphinx
"""
[tool.tox.env.docs]
depends = []
extras = ["doc"]
commands = [["sphinx-build", "-W", "-n", "docs", "build/sphinx"]]

0 comments on commit 26fd117

Please sign in to comment.