-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
59 lines (51 loc) · 1.28 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
[project]
name = "xlens"
license = {file = "LICENSE"}
readme = "README.md"
authors = [
{ name = "Xiangchong Li", email = "mr.superonion@hotmail.com" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"ipykernel", # Support for Jupyter notebooks
]
[project.urls]
"Source Code" = "https://github.com/mr-superonion/xlens"
[build-system]
requires = [
"setuptools>=62",
"setuptools_scm>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
write_to = "xlens/__version__.py"
[tool.pytest.ini_options]
testpaths = [
"tests/",
"examples/anacal/"
]
addopts = "--nbval --nbval-lax --nbval-current-env -vv -s"
[tool.black]
line-length = 80
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 80
[tool.flake8]
ignore = [
"N801", "N802", "N803", "N806", "N815", "N816", "W503", "W504",
"E133", "E203", "E303", "E731", "E226", "E228", "N812"
]
exclude = [".git", "__pycache__", "docs", "build", "dist"]
max-line-length = 80
[tool.coverage.run]
omit=["xlens/__version__.py"]