aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorPatrik Teivonen <patrik.teivonen@qt.io>2022-07-04 17:23:23 +0300
committerPatrik Teivonen <patrik.teivonen@qt.io>2022-09-08 22:10:37 +0000
commitdce4c6f68c8753d634a7f9ab55426b560bc0763d (patch)
tree39fa2fca3f65916a34e0e03fb685bc1b7227d8ac /.pre-commit-config.yaml
parentf3a0c80282116f5bdb85865a4db057403faa2245 (diff)
pylint: Add checking for PEP8 naming style conventions (C0103)
Enable checking for invalid-name C0103 in pylint. Change all remaining names to be PEP8 compliant. Ignore false positive constants. Note: patch renames some python modules Change-Id: I6ddd338e3ed260280e5fd9b356406603b8cc3ccc Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4ba597411..fcc223f8e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -41,7 +41,7 @@ repos:
fail_fast: true
- id: pylint
name: Analyze code (pylint)
- entry: bash -c 'for x in "$@"; do pipenv run python3 -m pylint --errors-only --enable=C0209,W1202,W1203,C0325,R1705,R1720,R1721,R1723,R1724,W0104,W0105,W0107,W0612,W0613,R0205,R1711,R1727,R1719,W1503,W0402,W1514,R1732,W0621,W0622 "$x"; done'
+ entry: bash -c 'for x in "$@"; do pipenv run python3 -m pylint --errors-only --enable=C0209,W1202,W1203,C0325,R1705,R1720,R1721,R1723,R1724,W0104,W0105,W0107,W0612,W0613,R0205,R1711,R1727,R1719,W1503,W0402,W1514,R1732,W0621,W0622,C0103 "$x"; done'
language: system
types: [python]
fail_fast: true