-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (115 loc) · 2.81 KB
/
pyproject.toml
File metadata and controls
135 lines (115 loc) · 2.81 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ["setuptools>=70.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project.entry-points."mkdocs.plugins"]
"git-revision-date-localized" = "mkdocs_git_revision_date_localized_plugin.plugin:GitRevisionDateLocalizedPlugin"
[project]
name="mkdocs-git-revision-date-localized-plugin"
keywords = ["mkdocs", "plugin"]
authors = [
{ name = "Tim Vink", email = "vinktim@gmail.com" }
]
license = { text = "MIT" }
description="Mkdocs plugin that enables displaying the localized date of the last git modification of a markdown file."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python=">=3.10"
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
]
dynamic = ["version"]
dependencies = [
"babel>=2.7.0",
"gitpython>=3.1.44",
"mkdocs>=1.0",
"tzdata>=2023.3; sys_platform == 'win32'",
]
[project.urls]
"Homepage" = "https://github.com/timvink/mkdocs-git-revision-date-localized-plugin"
[tool.setuptools.dynamic]
version = {attr = "mkdocs_git_revision_date_localized_plugin.__version__"}
[tool.pytest.ini_options]
markers = [
"serial",
"no_temp_caching",
]
# https://github.com/charliermarsh/ruff
[tool.ruff]
# Rules to apply
lint.select= ["E", "F", "I", "UP"]
# Exclude rules
lint.ignore = ['D104'
,'D212'
,'D200'
,'D412'
,'E731'
,'E501'
,'E722'
,'D104'
,'E402'
]
# Exclude files in tests dir
lint.exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Set line length, keep same as black
line-length = 120
extend-exclude = [
"*.yml",
"*.toml",
"*.md",
".json",
"Makefile",
"*.txt",
]
#supported for python 3.10
target-version = "py310"
# Always autofix
fix = true
[dependency-groups]
dev = [
"click>=8.1.8",
"codecov>=2.1.13",
"mkdocs-gen-files>=0.5.0",
"mkdocs-git-authors-plugin>=0.9.2",
"mkdocs-material>=9.6.7",
"mkdocs-techdocs-core>=1.0.0",
"mkdocs-monorepo-plugin>=1.1.0",
"mkdocs-static-i18n>=1.3.0",
"pytest>=8.3.5",
"pytest-cov>=5.0.0",
"ruff",
"pre-commit>=4.5.1",
"ty>=0.0.13",
"prek>=0.3.0",
]
[tool.ty.environment]
python-version = "3.10"
[tool.ty.src]
include = ["src/**/*.py"]