Skip to content

Commit c0e0894

Browse files
committed
tox: ignore file generated by cbindgen for cython-lint
1 parent 3ba3d1f commit c0e0894

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ deps =
9797
pylint
9898
black
9999
commands =
100-
bash -c "shopt -s extglob globstar nullglob; cython-lint --max-line-length 100 **/*.p{yx,xd}"
100+
# check for cython issues, ignoring file generated by cbindgen
101+
bash -c "shopt -s extglob globstar nullglob; GLOBIGNORE='src/*/pkgcraft_c.pxd'; cython-lint --max-line-length 100 src/**/*.p{yx,xd}"
101102
# check for improperly formatted imports in non-generated files
102103
isort -l 100 -s pkgcraft_c.pxd --check-only --diff benches examples src tests setup.py
103104
# check for unused imports

0 commit comments

Comments
 (0)