forked from aws/aws-dynamodb-encryption-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
66 lines (57 loc) · 2.6 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[wheel]
universal = 1
[metadata]
license_file = LICENSE
[coverage:run]
branch = True
[coverage:report]
show_missing = True
[mypy]
ignore_missing_imports = True
[tool:pytest]
markers =
local: superset of unit and functional (does not require network access)
unit: mark test as a unit test (does not require network access)
functional: mark test as a functional test (does not require network access)
integ: mark a test as an integration test (requires network access)
ddb_integ: mark a test as an integration test that requires a real DynamoDB table (requires network access and not used in CI)
accept: mark a test as an acceptance test (requires network access)
examples: mark a test as an examples test (requires network access)
hypothesis: mark a test as using hypothesis (will run many times for each pytest call)
hypothesis_strategy: mark a test as testing a hypothesis strategy
slow: mark a test as being known to take a long time to complete (order 5s < t < 60s)
veryslow: mark a test as being known to take a very long time to complete (order t > 60s)
nope: mark a test as being so slow that it should only be very infrequently (order t > 30m)
travis_isolation: mark a test that crashes Travis CI when run with other tests
log_level=DEBUG
# Flake8 Configuration
[flake8]
max_complexity = 10
max_line_length = 120
import_order_style = google
application_import_names = dynamodb_encryption_sdk
builtins = raw_input
ignore =
# Ignoring D205 and D400 because of false positives
D205, D400,
# Ignoring D401 pending discussion of imperative mood
D401,
# Ignoring D202 (no blank lines after function docstring) because mypy confuses flake8
D202,
# E203 is not PEP8 compliant https://github.com/ambv/black#slices
E203,
# W503 is not PEP8 compliant https://github.com/ambv/black#line-breaks--binary-operators
W503
# Doc8 Configuration
[doc8]
max-line-length = 120
[isort]
line_length = 120
# https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
not_skip = __init__.py
known_first_party = dynamodb_encryption_sdk
known_third_party =attr,aws_kms_encrypted_client,aws_kms_encrypted_item,aws_kms_encrypted_resource,aws_kms_encrypted_table,boto3,botocore,cryptography,dynamodb_encryption_sdk,functional_test_utils,functional_test_vector_generators,hypothesis,hypothesis_strategies,integration_test_utils,mock,most_recent_provider_encrypted_table,moto,mypy_extensions,pytest,pytest_mock,setuptools,six,wrapped_rsa_encrypted_table,wrapped_symmetric_encrypted_table