mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
chore: disable pylint line too long in test_compile where necessary
- fix pylint targets for non package dirs
This commit is contained in:
8
Makefile
8
Makefile
@@ -42,17 +42,17 @@ pylint_src:
|
||||
|
||||
pylint_tests:
|
||||
@# Disable duplicate code detection in tests
|
||||
poetry run pylint --disable=R0801 --rcfile=pylintrc tests
|
||||
find ./tests/ -type f -name "*.py" | xargs poetry run pylint --disable=R0801 --rcfile=pylintrc
|
||||
.PHONY: pylint_tests
|
||||
|
||||
pylint_benchmarks:
|
||||
@# Disable duplicate code detection, docstring requirement, too many locals/statements
|
||||
poetry run pylint --disable=R0801,R0914,R0915,C0103,C0114,C0115,C0116 \
|
||||
--rcfile=pylintrc benchmarks
|
||||
find ./benchmarks/ -type f -name "*.py" | xargs poetry run pylint \
|
||||
--disable=R0801,R0914,R0915,C0103,C0114,C0115,C0116 --rcfile=pylintrc
|
||||
.PHONY: pylint_benchmarks
|
||||
|
||||
pylint_script:
|
||||
poetry run pylint --rcfile=pylintrc script
|
||||
find ./script/ -type f -name "*.py" | xargs poetry run pylint --rcfile=pylintrc
|
||||
.PHONY: pylint_script
|
||||
|
||||
flake8:
|
||||
|
||||
Reference in New Issue
Block a user