forked from CU-DBMI/template-uv-python-research-software
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml.jinja
More file actions
95 lines (87 loc) · 1.67 KB
/
Copy pathpyproject.toml.jinja
File metadata and controls
95 lines (87 loc) · 1.67 KB
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=64", "setuptools-scm>=8" ]
[project]
name = "{{ project_name }}"
version = "0.0.1"
description = "{{ project_description }}"
readme = "README.md"
authors = [
{ name = "{{ author_name }}" },
]
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pandas>=2.2.3",
]
[dependency-groups]
dev = [
"poethepoet>=0.34",
"pytest>=8.3.5",
]
docs = [
"myst-nb>=1.2",
"pydata-sphinx-theme>=0.16.1",
"sphinx>=8.2.3",
]
notebooks = [
"black>=25.1",
"isort>=6.0.1",
"jupyterlab>=4.4.2",
"jupyterlab-code-formatter>=3.0.2",
"jupytext>=1.17.1",
]
[tool.setuptools_scm]
root = "."
version_scheme = "no-guess-dev"
local_scheme = "no-local-version"
version_file = "src/{{ project_name }}/_version.py"
[tool.ruff]
target-version = "py311"
line-length = 88
fix = true
lint.select = [
# flake8-builtins
"A",
# flake8-annotations
"ANN",
# flake8-comprehensions
"C4",
# mccabe
"C90",
# pycodestyle
"E",
# pyflakes
"F",
# isort
"I",
# pylint
"PL",
# ruff
"RUF",
# flake8-simplify
"SIM",
"W",
]
# Ignore `F401` (unused imports) for `__init__.py` file
lint.per-file-ignores."__init__.py" = [ "F401" ]
[tool.pytest.ini_options]
pythonpath = [ "." ]
[tool.poe.tasks]
# tasks for development environments
test.shell = """
pytest
"""
jupyter.shell = """
jupyter lab
"""
[tool.jupytext]
formats = "ipynb,py:light"
[tool.vulture]
min_confidence = 90
paths = [ "src/{{ project_name }}", "tests" ]