-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (64 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
77 lines (64 loc) · 1.92 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 = "jinja2-git-dir"
dynamic = ["version"]
description = "Jinja2 filter extension for detecting if a directory is a git repository"
authors = [
{name = "Will Gordon", email = "will@gordoncode.dev"},
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Typing :: Typed"
]
keywords = ["jinja", "jinja2", "extension", "filters", "copier"]
dependencies = ["jinja2>=3.0"]
[project.urls]
repository = "https://github.com/gordon-code/jinja2-git-dir/"
[dependency-groups]
dev = ["pyright", "ruff", "pytest", "pytest-subprocess"]
[tool.hatch.build.targets.sdist]
packages = ["src/jinja2_git_dir"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme = "only-version"
local_scheme = "no-local-version"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 120
src = ["src"]
target-version = "py39"
cache-dir = ".cache/.ruff_cache"
force-exclude = true
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D100", "D101", "D102", "D104", "D205", "D401", "COM812"]
unfixable = ["T201", "F401", "F841"]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["S101", "PLR2004", "SLF001", "INP001", "ANN001", "ANN201", "D103"]
[tool.ruff.lint.isort]
known-first-party = ["src"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
cache_dir = ".cache/.pytest_cache"
python_files = "test_*.py"
[tool.pyright]
pythonVersion = "3.9"
typeCheckingMode = "standard"
include = ["src"]
exclude = [
"**/__pycache__",
"**/tests",
]
reportMissingImports = false
reportMissingTypeStubs = false