forked from vitsalis/PyCG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (48 loc) · 1.26 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
[project]
name = "PyCG"
version = "0.0.8"
description = "PyCG - Practical Python Call Graphs"
readme = "README.md"
requires-python = ">=3.4"
licence = {file = "LICENCE"}
authors = [{name = "Vitalis Salis", email = "vitsalis@gmail.com"}]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
]
[project.optional-dependencies]
dev = ["flake8>=6.0.0", "isort>=5.12.0", "black>=22.12.0", "mock"]
[project.urls]
"Homepage" = "https://github.com/vitsalis/PyCG"
"Bug Tracker" = "https://github.com/vitsalis/PyCG/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[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
| micro-benchmark
| micro-benchmark-key-errs
)/
'''
[tool.ruff]
# Do not enforce `E501` (line length violations) for now.
ignore = ["E501"]
exclude = [
"micro-benchmark",
"micro-benchmark-key-errs"
]
# Ignore `E402` (import violations) in all `__init__.py` files
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.isort]
profile = "black"