Skip to content

Commit

Permalink
Upgrade dev-cmd and parallelize. (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Dec 24, 2024
1 parent 769b510 commit a1258f8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
18 changes: 16 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,15 @@ type-check = ["mypy", "insta_science", "scripts", "test-support", "tests"]
type-check-39 = [
"mypy", "--python-version", "3.9", "insta_science", "scripts", "test-support", "tests"
]
type-check-310 = [
"mypy", "--python-version", "3.10", "insta_science", "scripts", "test-support", "tests"
]
type-check-311 = [
"mypy", "--python-version", "3.11", "insta_science", "scripts", "test-support", "tests"
]
type-check-312 = [
"mypy", "--python-version", "3.12", "insta_science", "scripts", "test-support", "tests"
]
type-check-313 = [
"mypy", "--python-version", "3.13", "insta_science", "scripts", "test-support", "tests"
]
Expand All @@ -125,8 +134,13 @@ args = ["pytest", "-n", "auto"]
accepts-extra-args = true

[tool.dev-cmd.aliases]
checks = ["fmt", "lint", "type-check-39", "type-check-313", "test"]
ci = ["check-fmt", "check-lint", "type-check", "test"]
checks = [
"fmt",
"lint",
["type-check-39", "type-check-310", "type-check-311", "type-check-312", "type-check-313"],
"test"
]
ci = [["check-fmt", "check-lint", "type-check"], "test"]

[tool.dev-cmd.default]
alias = "checks"
16 changes: 13 additions & 3 deletions python/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a1258f8

Please sign in to comment.