-
Notifications
You must be signed in to change notification settings - Fork 46
/
pyproject.toml
63 lines (56 loc) · 1.35 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
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"astor~=0.8.1",
"graphviz~=0.17",
"networkx",
"astunparse~=1.6.3",
"typed-ast",
"typeshed-client",
"regex",
"setuptools",
"dataclasses",
"pycg",
]
[tool.black]
line-length = 88
target_version = ['py38', 'py39', 'py310']
preview = true
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.vscode
| build
| dist
| doc/tutorial
| doc/_build
| doc/auto_examples
| sklearn/externals
| asv_benchmarks/env
)/
'''
[project]
name = "Scalpel"
version = "0.0.1"
description = "Scalpel: The Python Static Analysis Framework"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/SMAT-Lab/Scalpel"
"Bug Tracker" = "https://github.com/SMAT-Lab/Scalpel/issues"
[tool.ruff]
# Never enforce `E501` (line length violations).
ignore = ["E501"]
# Ignore `E402` (import violations) in all `__init__.py` files
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402"]
"path/to/file.py" = ["E402"]
[tool.isort]
profile = "black"