[lint] disable W0511(fixme)
- unused-import - wrong-import-order
This commit is contained in:
parent
03f12b7d3b
commit
29cc7017cb
4 changed files with 3 additions and 4 deletions
2
.github/workflows/pylint.yml
vendored
2
.github/workflows/pylint.yml
vendored
|
@ -28,4 +28,4 @@ jobs:
|
|||
- name: Analysing the code with pylint
|
||||
run: |
|
||||
mv demo/config.py.simple demo/config.py
|
||||
pylint --disable=E0401 $(git ls-files '*.py')
|
||||
pylint --disable=E0401,W0511 $(git ls-files '*.py')
|
||||
|
|
|
@ -5,7 +5,7 @@ pipeline:
|
|||
- poetry add pylint
|
||||
- poetry install
|
||||
- mv demo/config.py.simple demo/config.py
|
||||
- find . -type f -name "*.py" | xargs poetry run pylint --disable=E0401
|
||||
- find . -type f -name "*.py" | xargs poetry run pylint --disable=E0401,W0511
|
||||
flake8:
|
||||
image: fnndsc/python-poetry
|
||||
commands:
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"""process Key."""
|
||||
from pathlib import Path
|
||||
from Crypto.PublicKey import RSA
|
||||
from demo.config import KEY_PATH
|
||||
|
||||
|
||||
def get_pubkey_as_pem(key_path: Path) -> str:
|
||||
|
|
2
misc.py
2
misc.py
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Something misc."""
|
||||
import click
|
||||
import sys
|
||||
import click
|
||||
|
||||
from Crypto.PublicKey import RSA
|
||||
from demo import config
|
||||
|
|
Loading…
Reference in a new issue