Skip to content

Commit

Permalink
chore: update pre-commit hooks (#132)
Browse files Browse the repository at this point in the history
* chore: update pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](astral-sh/ruff-pre-commit@v0.4.3...v0.4.4)
- [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.3](tox-dev/pyproject-fmt@1.8.0...2.0.3)

* style: pre-commit fixes

* style: pre-commit fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored May 13, 2024
1 parent 24f7984 commit 60bae57
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.3"
rev: "v0.4.4"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.8.0"
rev: "2.0.3"
hooks:
- id: pyproject-fmt

Expand Down
25 changes: 14 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ dynamic = [
dependencies = [
"manim>=0.16",
]
[project.optional-dependencies]
dev = [
optional-dependencies.dev = [
"pytest>=6",
"pytest-cov>=3",
]
docs = [
optional-dependencies.docs = [
"markdown-callouts>=0.2",
"mkdocs>=1.3.1",
"mkdocs-include-exclude-files>=0.0.1",
Expand All @@ -55,16 +54,15 @@ docs = [
"mkdocstrings-python-legacy>=0.2.3",
"pymdown-extensions>=9.5",
]
test = [
optional-dependencies.test = [
"pytest>=6",
"pytest-cov>=3",
]
[project.urls]
"Bug Tracker" = "https://github.com/Saransh-cpp/riemapp/issues"
Changelog = "https://riemapp.readthedocs.io/en/latest/changelog/"
Discussions = "https://github.com/Saransh-cpp/riemapp/discussions"
Documentation = "https://riemapp.readthedocs.io/"
Homepage = "https://github.com/Saransh-cpp/riemapp"
urls."Bug Tracker" = "https://github.com/Saransh-cpp/riemapp/issues"
urls.Changelog = "https://riemapp.readthedocs.io/en/latest/changelog/"
urls.Discussions = "https://github.com/Saransh-cpp/riemapp/discussions"
urls.Documentation = "https://riemapp.readthedocs.io/"
urls.Homepage = "https://github.com/Saransh-cpp/riemapp"

[tool.hatch]
version.source = "vcs"
Expand All @@ -75,7 +73,12 @@ profile = "black"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
addopts = [
"-ra",
"--showlocals",
"--strict-markers",
"--strict-config",
]
xfail_strict = true
filterwarnings = [
"error",
Expand Down

0 comments on commit 60bae57

Please sign in to comment.