This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
119 lines (106 loc) · 2.89 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
[tool.poetry]
name = "raider"
version = "0.2.2"
description = "Web authentication testing framework"
authors = ["Daniel Neagaru <daniel@digeex.de>"]
packages = [
{ include = "raider" }
]
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/DigeeX/raider"
repository = "https://github.com/DigeeX/raider"
documentation = "https://raider.readthedocs.io/en/latest/"
include = [
"LICENSE",
"CHANGELOG.md",
"docs/**/*",
"examples",
"scripts"
]
keywords = ["authentication", "security", "raider", "digeex", "hy"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Lisp",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
]
# [tool.poetry.scripts]
# raider = "raider.cli:main"
[tool.poetry.dependencies]
python = "^3.8"
hy = "^0.20.0"
requests = "^2.25.1"
importlib-metadata = "^4.6.1"
bs4 = "^0.0.1"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
pytest-cov = "^2.12.1"
pre-commit = "^2.13.0"
flake8 = "^3.9.2"
pylint = "^2.9.3"
black = {version = "^21.6b0", allow-prereleases = true}
isort = "^5.9.1"
sphinxcontrib-needs = "^0.7.0"
sphinx-autodoc-typehints = "^1.12.0"
sphinx-rtd-theme = "^0.5.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
| \.git
| \.tox
| dist
| docs
| scripts
)/
)
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 79
[tool.pylint.master]
ignore-patterns = '''
\.git
|conf.py
|scripts/*
'''
[tool.pylint.message_control]
disable = '''
import-error,
'''
[tool.mypy]
python_version = "3.9"
follow_imports = "silent"
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
disallow_untyped_defs = true
exclude = "scripts"
overrides = [
# TODO
# something doesn't work with requests types in the virtual environment
{ module = "requests.*", ignore_missing_imports = true },
]