Skip to content

Commit

Permalink
Merge pull request #7 from eggplants/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
eggplants committed Jun 4, 2024
2 parents ab6b4f4 + 40ef849 commit 21ebca5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ repos:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.8.0
rev: 2.1.3
hooks:
- id: pyproject-fmt
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
rev: v0.4.7
hooks:
- id: ruff
args: [--fix]
Expand All @@ -47,7 +47,7 @@ repos:
- types-requests
- types-pillow
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.40.0
rev: v0.41.0
hooks:
- id: markdownlint-fix
exclude: ^.github/PULL_REQUEST_TEMPLATE.md
Expand Down
25 changes: 19 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ requires = [
"poetry-core",
]

[tool]
[tool.poetry]
authors = ["eggplants <w10776e8w@yahoo.co.jp>"]
authors = [
"eggplants <w10776e8w@yahoo.co.jp>",
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
Expand All @@ -16,9 +17,15 @@ classifiers = [
]
description = "Get and save images from webcomicgamma"
documentation = "https://egpl.dev/gettake/"
keywords = ["downloader", "cli", "manga"]
keywords = [
"downloader",
"cli",
"manga",
]
name = "gettake"
packages = [{ include = "gettake" }]
packages = [
{ include = "gettake" },
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/eggplants/gettake"
Expand Down Expand Up @@ -46,7 +53,9 @@ portray = "^1.8.0"
gettake = "gettake.main:main"

[tool.black]
target-version = ["py312"]
target-version = [
"py312",
]

[tool.mypy]
pretty = true
Expand All @@ -58,8 +67,12 @@ strict = true
pythonVersion = "3.12"
typeCheckingMode = "strict"

[tool]

[tool.lint.ruff]
select = ["ALL"]
select = [
"ALL",
]
# ignore = []

[tool.lint.ruff.per-file-ignores]
Expand Down

0 comments on commit 21ebca5

Please sign in to comment.