-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
133 lines (121 loc) · 3.08 KB
/
pyproject.toml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[tool.poetry]
name = "aws_sra_examples"
version = "2.0.5"
description = "AWS Security Reference Architecture Examples"
authors = ["Amazon Web Services <[email protected]>"]
license = "MIT-0 License"
[tool.poetry.dependencies]
python = "^3.9"
boto3 = "^1.21.36"
crhelper = "^2.0.10"
[tool.poetry.dev-dependencies]
pytest = "^7.1.1"
pytest-cov = "^3.0.0"
pytest-mock = "^3.7.0"
pytest-xdist = "^2.5.0"
black = "^22.3.0"
isort = "^5.10.1"
rope = "^1.0.0"
mypy = "^0.942"
boto3-stubs = { extras = ["all"], version = "^1.21.36" }
flake8 = "^4.0.1"
darglint = "^1.8.1"
dlint = "^0.12.0"
flake8-2020 = "^1.6.1"
flake8-SQL = "^0.4.1"
flake8-annotations-complexity = "^0.0.7"
flake8-bandit = "^3.0.0"
flake8-breakpoint = "^1.1.0"
flake8-broken-line = "^0.4.0"
flake8-bugbear = "^22.3.23"
flake8-builtins = "^1.5.3"
flake8-cognitive-complexity = "^0.1.0"
flake8-comprehensions = "^3.8.0"
flake8-copyright = "^0.2.2"
flake8-docstrings = "^1.6.0"
flake8-eradicate = "^1.2.0"
flake8-executable = "^2.1.1"
flake8-expression-complexity = "^0.0.11"
flake8-fixme = "^1.1.1"
flake8-functions = "^0.0.7"
flake8-markdown = "^0.3.0"
flake8-mock = "^0.3"
flake8-mutable = "^1.2.0"
flake8-no-implicit-concat = "^0.3.3"
flake8-print = "^4.0.0"
flake8-printf-formatting = "^1.1.2"
flake8-pytest-style = "^1.6.0"
flake8-raise = "^0.0.5"
flake8-return = "^1.1.3"
flake8-scrapy = "^0.0.1"
flake8-simplify = "^0.19.2"
flake8-strftime = "^0.3.2"
flake8-todos = "^0.1.5"
flake8-tuple = "^0.4.1"
flake8-typing-imports = "^1.12.0"
flake8-unused-arguments = "^0.0.9"
flake8-use-fstring = "^1.3"
flake8-use-pathlib = "^0.2.1"
flake8-variables-names = "^0.0.5"
pep8-naming = "^0.12.1"
aws-lambda-typing = "^2.10.1"
safety = "^1.10.3"
pylic = "^2.2.0"
[tool.black]
line-length = 150
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 150
[tool.mypy]
ignore_missing_imports = true
show_error_codes = true
warn_unused_configs = true
warn_unused_ignores = true
warn_no_return = true
show_none_errors = true
check_untyped_defs = true
warn_redundant_casts = true
strict_equality = true
show_column_numbers = true
show_error_context = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
explicit_package_bases = true
namespace_packages = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover"]
show_missing = true
[tool.coverage.run]
branch = true
omit = ["tests/*"]
source = ["."]
[tool.pytest.ini_options]
addopts = [
# "--cov=./",
"--cov-report=xml",
"--cov-report=term",
"--durations=5",
"--numprocesses=auto",
"-rA",
"--ignore-glob=old/*",
]
python_files = ["test_*.py"]
xfail_strict = true
[tool.pyright]
stubPath = "./typings"
exclude = ["**/node_modules", "**/__pycache__"]
pythonVersion = "3.9"
typeCheckingMode = "basic"
useLibraryCodeForTypes = true
reportGeneralTypeIssues = "none"
reportTypedDictNotRequiredAccess = "none"
[tool.pylic]
safe_licenses = ["MIT License", "BSD License", "Apache Software License"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"