File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ package = wheel
1313wheel_build_env = .pkg
1414# for extra deps
1515# extras =
16+ allowlist_externals = cargo
1617deps =
1718 pytest
1819 pyyaml
@@ -34,14 +35,18 @@ deps =
3435labels = check
3536package = skip
3637deps = ruff
37- commands = ruff check {posargs}
38+ commands =
39+ cargo clippy --manifest-path ua-parser-rs/Cargo.toml {posargs}
40+ ruff check {posargs}
3841
3942[testenv:format]
4043description = Runs the formatter (just showing errors by default)
4144labels = check
4245package = skip
4346deps = ruff
44- commands = ruff format {posargs:--diff}
47+ commands =
48+ cargo fmt --manifest-path ua-parser-rs/Cargo.toml {posargs:--check}
49+ ruff format {posargs:--diff}
4550
4651[testenv:typecheck]
4752labels = check
5156 types-PyYaml
5257 ./ua-parser-rs
5358 ./ua-parser-builtins
54- commands = mypy {posargs}
59+ commands =
60+ cargo check --manifest-path ua-parser-rs/Cargo.toml
61+ mypy {posargs}
5562
5663[testenv:docs]
5764description = Builds the documentation
You can’t perform that action at this time.
0 commit comments