-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (70 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
78 lines (70 loc) · 1.53 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
[project]
name = "snakefmt"
version = "1.1.0"
description = "The uncompromising Snakemake code formatter"
authors = [
{ name = "Michael Hall", email = "mhaldini@icloud.com" },
{ name = "Brice Letcher", email = "brice.letcher@ens-lyon.fr" },
]
requires-python = ">=3.11,<4"
readme = "README.md"
license = "MIT"
keywords = [
"python",
"snakemake",
"code",
"formatter",
"parser",
"workflow",
"management",
"systems",
"black",
]
dependencies = [
"click>=8.2.0,<9",
"black>=26.3.1,<27",
]
[project.urls]
Homepage = "https://github.com/snakemake/snakefmt"
Repository = "https://github.com/snakemake/snakefmt"
Documentation = "https://github.com/snakemake/snakefmt/blob/master/README.md"
"Snakemake Documentation" = "https://snakemake.readthedocs.io/"
"Snakemake Repository" = "https://github.com/snakemake/snakemake"
[project.scripts]
snakefmt = "snakefmt.snakefmt:main"
[dependency-groups]
dev = [
"pytest>=7.4.4,<8",
"pytest-cov>=4.1.0,<5",
"flake8~=7.0",
"snakemake>=9.12.0",
"isort>=5.1.0,<6",
"pynvim~=0.4.3",
]
[tool.black]
target-version = ["py311"]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
testpaths = ["tests"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"