Skip to content

Commit

Permalink
fix pyproject mishaps
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-dot committed Oct 23, 2024
1 parent 8899f7a commit 91acef0
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ legacy_tox_ini = """
skipsdist=True
[testenv:{pre-commit,type-checking,tests}]
# Don't create a virtualenv for the command, requires tox-direct plugin
direct = True
passenv = *
allowlist_externals =
Expand All @@ -87,19 +88,10 @@ allowlist_externals =
mypy
commands =
pre-commit: pre-commit run --all-files --show-diff-on-failure {posargs}
type-checking: mypy src tests {posargs}
tests: pytest --cov=i22_bluesky --cov-report term --cov-report xml:cov.xml {posargs}
type-checking: mypy src tests {posargs}
tests: pytest --cov=i22_bluesky --cov-report term --cov-report xml:cov.xml {posargs}
"""

name = "i22-bluesky"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
description = "Plans and behaviours specific to the i22 beamline at DiamondLightSource."
# Don't create a virtualenv for the command, requires tox-direct plugin
[tool.ruff]
src = ["src", "tests"]
line-length = 88
Expand Down

0 comments on commit 91acef0

Please sign in to comment.