Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

build(deps-dev): bump pre-commit from 3.8.0 to 4.0.1 #1300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Lee-W merged 1 commit into master from dependabot/pip/pre-commit-4.0.1
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build(deps-dev): bump pre-commit from 3.8.0 to 4.0.1
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0 to 4.0.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.8.0...v4.0.1)
---
updated-dependencies:
- dependency-name: pre-commit
 dependency-type: direct:development
 update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and Lee-W committed Nov 26, 2024
commit 0ce8a11a13ed79a12a0faabb08c8237b08fc75a4
8 changes: 4 additions & 4 deletions poetry.lock
View file Open in desktop

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 35 additions & 42 deletions pyproject.toml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
version = "4.0.0"
tag_format = "v$version"
version_files = [
"pyproject.toml:version",
"commitizen/__version__.py",
".pre-commit-config.yaml:rev:.+Commitizen",
"pyproject.toml:version",
"commitizen/__version__.py",
".pre-commit-config.yaml:rev:.+Commitizen",
]

[tool.poetry]
Expand Down Expand Up @@ -32,10 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
packages = [
{include = "commitizen"},
{include = "commitizen/py.typed"},
]
packages = [{ include = "commitizen" }, { include = "commitizen/py.typed" }]

[tool.poetry.dependencies]
python = ">=3.9"
Expand All @@ -51,7 +48,7 @@ argcomplete = ">=1.12.1,<3.6"
typing-extensions = { version = "^4.0.1", python = "<3.11" }
charset-normalizer = ">=2.1.0,<4"
# Use the Python 3.11 and 3.12 compatible API: https://github.com/python/importlib_metadata#compatibility
importlib_metadata = { version = ">=8.0.0,<9", python = "<3.10"}
importlib_metadata = { version = ">=8.0.0,<9", python = "<3.10"}

[tool.poetry.group.dev.dependencies]
# dev tool
Expand All @@ -65,7 +62,7 @@ pytest-freezer = "^0.4.6"
pytest-xdist = "^3.1.0"
# linter
ruff = ">=0.5.0,<0.9.0"
pre-commit = ">=2.18,<4.0"
pre-commit = ">=2.18,<5.0"
mypy = "^1.4"
types-PyYAML = ">=5.4.3,<7.0.0"
types-termcolor = "^0.1.1"
Expand Down Expand Up @@ -108,33 +105,33 @@ semver = "commitizen.version_schemes:SemVer"
semver2 = "commitizen.version_schemes:SemVer2"

[tool.coverage]
[tool.coverage.report]
show_missing = true
exclude_lines = [
# Have to re-enable the standard pragma
'pragma: no cover',

# Don't complain about missing debug-only code:
'def __repr__',
'if self\.debug',

# Don't complain if tests don't hit defensive assertion code:
'raise AssertionError',
'raise NotImplementedError',

# Don't complain if non-runnable code isn't run:
'if 0:',
'if __name__ == .__main__.:',
'if TYPE_CHECKING:',
]
omit = [
'env/*',
'venv/*',
'.venv/*',
'*/virtualenv/*',
'*/virtualenvs/*',
'*/tests/*',
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
# Have to re-enable the standard pragma
'pragma: no cover',

# Don't complain about missing debug-only code:
'def __repr__',
'if self\.debug',

# Don't complain if tests don't hit defensive assertion code:
'raise AssertionError',
'raise NotImplementedError',

# Don't complain if non-runnable code isn't run:
'if 0:',
'if __name__ == .__main__.:',
'if TYPE_CHECKING:',
]
omit = [
'env/*',
'venv/*',
'.venv/*',
'*/virtualenv/*',
'*/virtualenvs/*',
'*/tests/*',
]

[build-system]
requires = ["poetry_core>=1.0.0"]
Expand All @@ -157,11 +154,7 @@ select = [
# isort
"I",
]
ignore = [
"E501",
"D1",
"D415"
]
ignore = ["E501", "D1", "D415"]

[tool.ruff.lint.isort]
known-first-party = ["commitizen", "tests"]
Expand All @@ -179,7 +172,7 @@ warn_unused_ignores = true
warn_unused_configs = true

[[tool.mypy.overrides]]
module = "py.*" # Legacy pytest dependencies
module = "py.*" # Legacy pytest dependencies
ignore_missing_imports = true

[tool.codespell]
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /