-
Notifications
You must be signed in to change notification settings - Fork 85
/
setup.cfg
95 lines (80 loc) · 2.18 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
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
[metadata]
name = powerpwn
author = Michael Bargury, Lana Salameh and Avishai Efrat
version = 3.0.1
[options]
install_requires =
pydantic[email] ==1.10.7
pydantic ==1.10.7
swagger-ui-py ==22.7.13
Flask ==2.2.5
requests >=2.31.0
msal >=1.20.0
responses >=0.23.1
pytest >=8.1.1
prance >=23.6.21.0
openapi >=1.1.0
openapi-spec-validator >=0.5.6
jsf >=0.7.1
pillow >=10.3.0
scandir >=1.10.0
backports.shutil-get-terminal-size >=1.0.0
browsepy >=0.5.6
art >= 6.1
typing_extensions<4.6.0
pyjwt >=2.6.0
websockets >= 12.0.0
pandas
xlsxwriter >= 3.2.0
xmltodict
package_dir =
= src
packages = find:
[options.packages.find]
where = src
[options.package_data]
powerpwn =
powerdump/gui/templates/*.html
powerdoor/samples/flow_factory_to_install.json
puppeteer_get_substrate_bearer/*.js
puppeteer_get_substrate_bearer/node_modules/*
copilot_studio/helpers/*.txt
copilot_studio/internal_results/**/.gitkeep
copilot_studio/final_results/*.txt
python_requires = >=3.6,<=3.8.10
scripts = src/powerpwn/main.py
[options.entry_points]
console_scripts =
powerpwn = powerpwn.main:main
[mypy]
plugins = pydantic.mypy
show_error_codes = true
follow_imports = normal
ignore_errors = false
implicit_reexport = false
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
check_untyped_defs = true
allow_redefinition = false
local_partial_types = true
strict_optional = true
strict_equality = true
warn_unused_configs = true
warn_unreachable = true
warn_no_return = true
enable_error_code = "ignore-without-code,unused-awaitable"
# This is becoming the default since Python's PEPs for type hints specify implicit optionals should no longer be supported
no_implicit_optional = true
strict = true
# In many cases we have dynamic code with JSONs and requests etc. and annotate a method's return type trusting it to be correct
warn_return_any = false
# Mypy plugins
[pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true