-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathpyproject.toml
112 lines (104 loc) · 2.46 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project]
name = "z2pack"
version = "2.2.1"
description = "Automating the computation of topological numbers of band-structures."
authors = [{ name ="Dominik Gresch", email = "[email protected]" }]
license = "GPL"
readme = "README.md"
documentation = "https://z2pack.greschd.ch"
repository = "https://github.com/Z2PackDev/Z2Pack"
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"Development Status :: 5 - Production/Stable",
]
keywords = [
"topology",
"topological",
"invariant",
"bandstructure",
"chern",
"z2",
"solid-state",
"tight-binding",
]
packages = [
{ include = "z2pack", from = "src" },
]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.20",
"scipy>=1.7",
"decorator>=5.0",
"blessings>=1.7",
"sortedcontainers>=2.4.0",
"msgpack>=1.0",
"fsc.locker>=1.1.0",
"fsc.formatting>=1.0.0",
"fsc.iohelper>=1.0.3",
]
[project.optional-dependencies]
plot = [ "matplotlib>=3" ]
tb = [ "tbmodels>=1.1" ]
[tool.poetry.group.dev.dependencies]
sphinx = ">=5"
sphinx-rtd-theme = ">=1.1.1"
pytest = ">=6"
pytest-cov = ">=4.0.0"
pre-commit = ">=3.0.0"
pylint = ">=3"
[tool.black]
line-length = 100
target-version = ['py39']
[tool.isort]
profile = "black"
force_sort_within_sections = true
line_length = 100
default_section = "THIRDPARTY"
src_paths = ["z2pack", "doc", "tests"]
[tool.pylint.basic]
docstring-min-length = 5
good-names = [
"i",
"j",
"k",
"ex",
"Run",
"_",
"s",
"t",
"x",
"y",
"z",
"f",
]
[tool.pylint.messages_control]
disable = [
"too-few-public-methods",
"too-many-public-methods",
"wrong-import-position",
"line-too-long",
"wildcard-import",
"too-many-instance-attributes",
"cyclic-import",
"duplicate-code",
"wrong-import-order",
"unnecessary-lambda-assignment",
"consider-using-f-string",
"use-dict-literal",
"too-many-arguments",
"too-many-positional-arguments",
]
[tool.pylint.design]
max-locals = 20