-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.cfg
More file actions
65 lines (57 loc) · 1.86 KB
/
Copy pathsetup.cfg
File metadata and controls
65 lines (57 loc) · 1.86 KB
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
[metadata]
name = inmanta-module-std
freeze_recursive = False
freeze_operator = ~=
version = 8.7.4
license = Apache 2.0
four_digit_version = False
[egg_info]
tag_build = dev0
[options]
python_requires = >=3.12
install_requires =
Jinja2>=3.1,<4
email_validator>=1.3,<3
pydantic>=1.10,<3
inmanta-core>=8.7.0.dev
zip_safe = False
include_package_data = True
packages = find_namespace:
[options.packages.find]
include = inmanta_plugins*
[flake8]
# H101 Include your name with TODOs as in # TODO(yourname). This makes it easier to find out who the author of the comment was.
# H302 Do not import objects, only modules DEPRICATED
# H404 Multi line docstrings should start without a leading new line.
# H405 multi line docstring summary not separated with an empty line
# H301 Do not import more than one module per line (*)
# H306 Alphabetically order your imports by the full module path.
# E203 whitespace before ':' " on list slice.
# E266 too many leading ‘#’ for block comment
# E252 missing whitespace around parameter equals
# F722 syntax error in forward annotation
# W503 line break before binary operator
# Note: E203 whitespaces and the slice operator. black and flake disagree
# Note: F722 because many inmanta types are seen as forward declarations
ignore = H405,H404,H302,H306,H301,H101,E252,E203,F722,W503
# These inmanta primitive types will throw F821 in annotations
# see: http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-builtins
builtins = string,number,bool
max-line-length = 128
exclude = **/.env,venv
copyright-check = True
copyright-author = Inmanta
select = E,F,W,C,BLK,I
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88
known_first_party = inmanta
known_third_party = pytest,pydantic,Jinja2
[black]
line-length = 128
target-version = 'py312'
[irt]
skip_tests = False