-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
83 lines (76 loc) · 2.16 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "mdbom"
version = "0.3.0"
description = "Transform SBOM to Markdown"
authors = ["Robert Hansel <[email protected]>"]
license = "MIT License"
readme = "README.md"
repository = "https://github.com/HaRo87/mdbom"
homepage = "https://haro87.github.io/mdbom/"
include = [
"README.md",
"pyproject.toml"
]
[tool.poetry.dependencies]
python = "^3.7"
click = "^8.1.0"
Jinja2 = "^2.11.3"
MarkupSafe = "2.0.1"
[tool.poetry.dev-dependencies]
autoflake = "^1.4"
black = "^22.3.0"
duty = "^0.6.0"
flakehell = "^0.9.0"
flake8-black = "^0.2.1"
flake8-builtins = "^1.5.3"
flake8-tidy-imports = "^4.2.1"
flake8-variables-names = "^0.0.4"
flake8-pytest-style = "^1.3.0"
git-changelog = "^0.4.2"
httpx = "^0.16.1"
# TODO: accept v5 once https://github.com/wemake-services/wemake-python-styleguide/issues/1584 is resolved
isort = {version = "<5", extras = ["pyproject"]}
jinja2-cli = "^0.7.0"
mypy = "^0.950"
pytest = "^6.2.2"
pytest-cov = "^2.11.1"
pytest-randomly = "^3.5.0"
pytest-sugar = "^0.9.4"
pytest-xdist = "^2.2.0"
toml = "^0.10.2"
wemake-python-styleguide = "^0.16.1"
safety = "^1.10.3"
mkdocs = "^1.2.2"
mkdocs-material = "^7.2.5"
mike = "^1.0.1"
bandit = "1.7.2"
cyclonedx-bom = "^3.5.0"
[tool.poetry.scripts]
mdb = "mdbom.mdbom:cli"
[tool.black]
line-length = 80
exclude = "tests/fixtures"
[tool.flakehell]
exclude = ["duties.py", "tests/*", "docs/*", "__init__.py"]
# fix flakehell error according to https://github.com/flakehell/flakehell/issues/10#issuecomment-822720074
extended_default_ignore=[]
[tool.flakehell.plugins]
"*" = [
"+*",
"-RST*", # we write docstrings in markdown, not rst
"-D105", # missing docstring in magic method
"-D212", # multi-line docstring summary should start at the first line
"-Q000", # black already deals with quoting
"-S101", # use of assert
"-C0301", # line too long
"-WPS305", # f-strings
"-WPS110", # wrong var name
"-WPS323", # string formatting
"-WPS604", # pass in class
"-W503", # line break before binary operator
"-D401", # imperative mood
"-WPS226", # string constant over-use
]