forked from yt-project/yt
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
59 lines (55 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
[build-system]
# See https://github.com/scipy/scipy/pull/10431 for the AIX issue.
requires = [
"setuptools>=19.6",
"wheel",
# keep in sync with travis.yml "minimal" specs (Cython and numpy for py36)
"Cython>=0.26.1",
"numpy==1.13.3; python_version=='3.6' and platform_system!='AIX'",
"numpy>=1.18.4; python_version>='3.7' and platform_system!='AIX'",
]
# To be kept consistent with "Code Style" section in CONTRIBUTING.rst
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| yt/frontends/stream/sample_data
)/
| yt/visualization/_colormap_data.py
'''
# To be kept consistent with "Import Formatting" section in CONTRIBUTING.rst
[tool.isort]
profile = "black"
combine_as_imports = true
# isort can't be applied to yt/__init__.py because it creates circular imports
skip = ["venv", "benchmarks", "yt/__init__.py"]
known_third_party = [
"IPython",
"nose",
"numpy",
"sympy",
"matplotlib",
"unyt",
"git",
"yaml",
"dateutil",
"requests",
"coverage",
"pytest",
"pyx",
"glue",
]
known_first_party = ["yt"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]