fix flake8

This commit is contained in:
jerger 2023-01-27 10:47:01 +01:00
parent 0abb2370e4
commit c1c25a016f
2 changed files with 6 additions and 7 deletions

View file

@ -16,21 +16,21 @@ flake8:
stage: lint stage: lint
allow_failure: true allow_failure: true
script: script:
- flake8 --max-line-length=120 --count --select=E9,F63,F7,F82 --show-source --statistics python_terraform/*.py - flake8 --max-line-length=120 --count --select=E9,F63,F7,F82 --show-source --statistics dda_python_terraform/*.py
- flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics python_terraform/*.py - flake8 --count --exit-zero --max-complexity=13 --max-line-length=127 --statistics --ignore F401 dda_python_terraform/*.py
mypy: mypy:
stage: lint stage: lint
allow_failure: true allow_failure: true
script: script:
- python -m mypy python_terraform/terraform.py - python -m mypy dda_python_terraform/terraform.py
- python -m mypy python_terraform/tfstate.py - python -m mypy dda_python_terraform/tfstate.py
pylint: pylint:
stage: lint stage: lint
allow_failure: true allow_failure: true
script: script:
- pylint -d C0301 python_terraform/*.py - pylint -d C0301 dda_python_terraform/*.py
test-0.13.7: test-0.13.7:

View file

@ -545,7 +545,6 @@ class Terraform:
return wrapper return wrapper
class VariableFiles: class VariableFiles:
def __init__(self): def __init__(self):
self.files = [] self.files = []