Sign inSign up

ookangzheng/py3-lint

By ookangzheng

•Updated about 4 years ago

Flake8 alphine python3 lint with wemake-python-styleguide

Image
0

975

ookangzheng/py3-lint repository overview

Will mount your working directory under /src and make sure you have setup.cfg at root directory

Run the command docker run -it -v $(pwd):/src -w /src ookangzheng/py3-lint flake8 .

[flake8]
# Increase the verbosity of Flake8’s output.
verbose = 1
# Decrease the verbosity of Flake8’s output.
quiet = 0

exclude = .git, .venv
ignore = C0330, R0201, E402, E501, E731, E741, W503
    A003 ; 'id' is a python builtin, consider renaming the class attribute
    W503 ; line break before binary operator
    S101 ; use of assert detected (useless with pytest)
max-complexity = 8
max-annotations-complexity = 3
max-expression-complexity = 7
max-line-length = 100
show-source = true
# max-returns = 2
# max-arguments = 4

Tag summary

Content type

Image

Digest

sha256:beb2ef170…

Size

56.5 MB

Last updated

about 4 years ago

docker pull ookangzheng/py3-lint