mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
Replace requirement-dev.txt with section in pyproject.toml, amend tox.ini accordingly
This commit is contained in:
parent
56dfb70dfe
commit
9e2bc6ad34
3 changed files with 8 additions and 4 deletions
|
|
@ -20,6 +20,13 @@ dependencies = [
|
|||
'tomli>=1.1.0;python_version<"3.11"',
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"covdefaults",
|
||||
"coverage",
|
||||
"pytest",
|
||||
]
|
||||
|
||||
[project.readme]
|
||||
file = "README.md"
|
||||
content-type = "text/markdown"
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
covdefaults
|
||||
coverage
|
||||
pytest
|
||||
2
tox.ini
2
tox.ini
|
|
@ -2,7 +2,7 @@
|
|||
envlist = py,pre-commit
|
||||
|
||||
[testenv]
|
||||
deps = -rrequirements-dev.txt
|
||||
extras = dev
|
||||
setenv =
|
||||
GIT_AUTHOR_NAME = "test"
|
||||
GIT_COMMITTER_NAME = "test"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue