forked from meltano/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
22 lines (22 loc) · 871 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[flake8]
ignore = W503, C901, ANN101, ANN102
max-line-length = 88
exclude = cookiecutter
per-file-ignores =
# Don't require docstrings or type annotations in tests
# tests/*:D100,D102,D103,DAR,ANN
# Don't require docstrings conventions or type annotations in SDK samples
# samples/*:ANN,DAR
# Don't require docstrings conventions or type annotations in private modules
singer_sdk/helpers/_*.py:ANN,DAR,D105
# Don't require docstrings conventions in "meta" code
# singer_sdk/helpers/_classproperty.py:D105
# Ignore unused imports in __init__.py files
singer_sdk/_singerlib/__init__.py:F401
# Templates support a generic resource of type Any.
singer_sdk/testing/templates.py:ANN401
# Disabled some checks in samples code
samples/*:ANN,D,DAR
max-complexity = 10
docstring-convention = google
allow-star-arg-any = true