Skip to content

Commit

Permalink
chore: Remove redundant Hatch Python matrices (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Jul 1, 2024
1 parent ca94dce commit 8be37cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
16 changes: 2 additions & 14 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,6 @@ def lint(
with session.cd(tmpdir):
session.run("git", "init", external=True)
session.run("git", "add", ".", external=True)
session.run(
"hatch",
"run",
f"+py={session.python}",
"test:dependencies",
external=True,
)
session.run(
"hatch",
"run",
f"+py={session.python}",
"typing:check",
external=True,
)
session.run("hatch", "run", "test:dependencies", external=True)
session.run("hatch", "run", "typing:check", external=True)
session.run("pre-commit", "run", "--all", external=True)
16 changes: 0 additions & 16 deletions src/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ features = [
[tool.hatch.envs.test.scripts]
integration = "pytest {args:tests}"
dependencies = "deptry ."
[% raw %][[tool.hatch.envs.test.matrix]][% endraw %]
python = [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]

[tool.hatch.envs.all]
template = "test"
Expand All @@ -102,14 +94,6 @@ features = [
]
[tool.hatch.envs.typing.scripts]
check = "mypy --strict {args:[[ tap_package_import_name ]] tests}"
[% raw %][[tool.hatch.envs.typing.matrix]][% endraw %]
python = [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]

[tool.ruff]
line-length = 88
Expand Down

0 comments on commit 8be37cc

Please sign in to comment.