aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorPatrik Teivonen <patrik.teivonen@qt.io>2022-09-01 12:41:08 +0300
committerPatrik Teivonen <patrik.teivonen@qt.io>2022-09-08 08:49:47 +0000
commitf3a0c80282116f5bdb85865a4db057403faa2245 (patch)
tree4ec6ccd0f2fe751625c4c0e2eab4fac2de1b26ab /.pre-commit-config.yaml
parentfc4d871b3760766ddf192f5d3f61877acba8ca7a (diff)
pep8-naming: N806 variable in function should be lowercase
Add this check and rename variables. Change-Id: I95b933bcf0834bcb8f0c3cda92090ce1d481d398 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1ac83d5ce..4ba597411 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -23,9 +23,7 @@ repos:
name: Check PEP8 compliance (flake8)
# Disable E203 for compatibility with blackformatter, and W503 as it goes against PEP8
# Disable checks that are not relevant to this patch, they will be introduced later
- # Disable pep8-naming checks that will be introduced later:
- # - N806 variable in function should be lowercase
- entry: bash -c 'pipenv run python3 -m flake8 --max-line-length=99 --ignore=E203,E501,W503,N806 "$@"'
+ entry: bash -c 'pipenv run python3 -m flake8 --max-line-length=99 --ignore=E203,E501,W503 "$@"'
language: system
types: [python]
fail_fast: true