forked from DataDog/dd-trace-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (42 loc) · 1.04 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
[build-system]
requires = ["setuptools >= 40.6.0", "setuptools_scm[toml] >= 4", "cython"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
[tool.isort]
force_single_line = true
lines_after_imports = 2
force_sort_within_sections = true
known_first_party = "ddtrace"
default_section = "THIRDPARTY"
skip = ["ddtrace/vendor/", ".riot", ".tox", ".eggs", "build", "setup.py"]
skip_glob = [".venv*", "ddtrace/profiling/exporter/pprof_*pb2.py"]
line_length = 120
[tool.black]
line-length = 120
target_version = ['py27', 'py35', 'py36', 'py37', 'py38']
include = '''\.py[ix]?$'''
exclude = '''
(
.venv*
| \.riot/
| ddtrace/internal/_encoding.pyx$
| ddtrace/internal/_rand.pyx$
| ddtrace/profiling/collector/_traceback.pyx$
| ddtrace/profiling/collector/_threading.pyx$
| ddtrace/profiling/collector/stack.pyx$
| ddtrace/profiling/exporter/pprof_.*pb2.py$
| ddtrace/vendor/
| \.eggs
| \.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| _build/
| buck-out/
| build/
| dist/
)
'''