-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
duolingo
pre-commit hook to 1.8.0 (TOOLS-581) (#63)
- Loading branch information
Showing
9 changed files
with
55 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,61 @@ | ||
[project] | ||
name = "minject" | ||
description = "A small dependency injection library for Python." | ||
authors = [ | ||
{ name = "Matt McHenry", email = "[email protected]" }, | ||
{ name = "Alek Binion", email = "[email protected]" }, | ||
{ name = "Xiyan Shao", email = "[email protected]" }, | ||
{ name = "Service Framework Team", email = "[email protected]" }, | ||
] | ||
classifiers = ['Development Status :: 5 - Production/Stable'] | ||
description = "A small dependency injection library for Python." | ||
dynamic = ["version"] | ||
authors = [{ name = "Matt McHenry", email = "[email protected]" }, { name = "Alek Binion", email = "[email protected]" }, { name = "Xiyan Shao", email = "[email protected]"}, { name = "Service Framework Team", email = "[email protected]" }] | ||
requires-python = ">=3.7" | ||
license = { file = "LICENSE" } | ||
name = "minject" | ||
requires-python = ">=3.7" | ||
|
||
dependencies = [ | ||
"attrs>=17.4", | ||
"typing_extensions>=4.1", | ||
] | ||
dependencies = ["attrs>=17.4", "typing_extensions>=4.1"] | ||
|
||
[build-system] | ||
requires = ["hatchling >= 1.10.0"] | ||
build-backend = "hatchling.build" | ||
requires = ["hatchling >= 1.10.0"] | ||
|
||
[tool.hatch.version] | ||
path = "minject/__init__.py" | ||
|
||
[tool.hatch.envs.default] | ||
dependencies = [ | ||
# Developer dependencies. E.g. for testing, building, packaging, etc. | ||
"coverage", | ||
"mypy", | ||
"pre-commit", | ||
"pylint", | ||
"pytest", | ||
"pytest-asyncio", | ||
"pytest-cov", | ||
"pytest-mock", | ||
"pytest-xdist", | ||
'pytest-asyncio', | ||
"typing", | ||
# Developer dependencies. E.g. for testing, building, packaging, etc. | ||
"coverage", | ||
"mypy", | ||
"pre-commit", | ||
"pylint", | ||
"pytest", | ||
"pytest-asyncio", | ||
"pytest-cov", | ||
"pytest-mock", | ||
"pytest-xdist", | ||
'pytest-asyncio', | ||
"typing", | ||
] | ||
|
||
[tool.hatch.envs.hatch-test] | ||
dependencies = [ | ||
# The default hatch-test dependencies are not compatible with Python 3.7, a version we want to test against. Hence | ||
# we need to specify our own dependencies here. | ||
# https://github.com/pypa/hatch/blob/3adae6c0dfd5c20dfe9bf6bae19b44a696c22a43/src/hatch/env/internal/test.py | ||
"coverage[toml]", | ||
'coverage-enable-subprocess', | ||
'pytest', | ||
'pytest-asyncio', | ||
'pytest-mock', | ||
'pytest-randomly', | ||
'pytest-asyncio', | ||
'pytest-rerunfailures', | ||
'pytest-xdist[psutil]', | ||
# The default hatch-test dependencies are not compatible with Python 3.7, a version we want to test against. Hence | ||
# we need to specify our own dependencies here. | ||
# https://github.com/pypa/hatch/blob/3adae6c0dfd5c20dfe9bf6bae19b44a696c22a43/src/hatch/env/internal/test.py | ||
"coverage[toml]", | ||
'coverage-enable-subprocess', | ||
'pytest', | ||
'pytest-asyncio', | ||
'pytest-mock', | ||
'pytest-randomly', | ||
'pytest-asyncio', | ||
'pytest-rerunfailures', | ||
'pytest-xdist[psutil]', | ||
] | ||
|
||
[[tool.hatch.envs.hatch-test.matrix]] | ||
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | ||
|
||
|
||
[tool.hatch.envs.types.scripts] | ||
check = "mypy --install-types --non-interactive minject" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters