-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
117 lines (102 loc) · 2.69 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
[project]
name = "dirty-waters"
version = "0.1.1"
authors = [
{name = "Raphina Liu", email = "[email protected]"},
{name = "Diogo Gaspar", email = "[email protected]"},
{name = "Martin Monperrus", email = "[email protected]"}
]
description = "Automatically detect software supply chain smells and issues"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
keywords = ["software supply chain", "ssc", "dependencies", "npm"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
'attrs == 24.2.0',
'cattrs == 24.1.2',
'certifi == 2024.8.30',
'charset-normalizer == 3.4.0',
'exceptiongroup == 1.2.2',
'idna == 3.10',
'numpy == 2.1.2',
'pandas == 2.2.3',
'platformdirs == 4.3.6',
'python-dateutil == 2.9.0.post0',
'pytz == 2024.2',
'requests == 2.32.3',
'requests-cache == 1.2.1',
'six == 1.16.0',
'tabulate == 0.9.0',
'tqdm == 4.66.5',
'typing_extensions == 4.12.2',
'tzdata == 2024.2',
'url-normalize == 1.4.3',
'urllib3 == 2.2.3',
]
[project.urls]
Homepage = "https://github.com/chains-project/dirty-waters"
"Bug Tracker" = "https://github.com/chains-project/dirty-waters/issues"
[project.scripts]
dirty-waters = "tool.main:main"
[tool.setuptools]
package-dir = {"" = "."}
[tool.setuptools.packages.find]
where = ["."]
include = ["tool*"]
exclude = ["tests*", "docs*", "example_reports*"]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 119
include = '\.pyi?$'
[tool.ruff]
# Never enforce `E501` (line length violations).
lint.ignore = ["C901", "E501", "E741"]
lint.select = ["C", "E", "F", "I", "W"]
line-length = 119
# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["ALL"]
lint.unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.10.
target-version = "py310"
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.ruff.lint.isort]
known-first-party = ["tool"]
[tool.ruff.flake8-quotes]
docstring-quotes = "double"