-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (47 loc) · 1.31 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyguga"
version = "0.0.1"
description = "A python library to build GUGA graphs"
requires-python = ">=3.13"
authors = [{name = "Nathan Fitzpatrick", email = "nathan.fitzpatrick@quantinuum.com" }]
dependencies = [
"pytest",
"pytest-parallel",
"py",
"networkx",
"rustworkx",
"numpy",
"pandas",
"pandas-stubs",
"pre-commit",
"matplotlib"
]
[tool.setuptools.packages.find]
where = ["."]
[tool.ruff]
# Enable flake8-bugbear (`B`) rules, pandas, see https://beta.ruff.rs/docs/rules/
lint.select = ["E", "F", "B", "RUF","PT","UP", "C4", "D"]
lint.ignore = ["RUF002"]
extend-exclude = ["**/*.ipynb", "tests/conftest.py", ".venv/**", "docs/**", "pyguga/_types/_type_stubs/**"]
target-version = "py313"
[tool.lint.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/conftest.py" = ["D103"]
[tool.lint.ruff.pydocstyle]
# Use Google-style docstrings.
convention = "google"
#https://microsoft.github.io/pyright/#/getting-started
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["pyguga","tests"]
ignore = ["**/*.ipynb", ".venv/**", "docs/**"]
pythonVersion = "3.13"
typeCheckingMode = "strict"
stubPath = "pyguga/_types/_type_stubs"
reportPrivateUsage = false
[tool.pytest.ini_options]
testpaths = ["tests"]