Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 3, 2024
1 parent 3d00dd5 commit 0ea2242
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
"poetry-core",
]

[tool.poetry]
name = "pixiv_bulk_downloader"
version = "3.0.0"
description = "Pixiv Bulk Downloader for bookmarks and works of following authors"
authors = ["eggplants <[email protected]>"]
authors = [
"eggplants <[email protected]>",
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/eggplants/pixiv-bulk-downloader"
Expand Down Expand Up @@ -31,41 +39,37 @@ black = "^24.3.0"
ruff = "^0.4.2"
mypy = "^1.9.0"

[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
"poetry-core",
]

[tool.poetry.scripts]
pbd = "pixiv_bulk_downloader.main:main"

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

[tool.ruff.lint]
select = ["ALL"]
ignore = [
[tool.ruff]
lint.select = [
"ALL",
]
lint.ignore = [
"COM812", # Trailing comma missing
"D",
"D211", # No blank lines allowed before class docstring
"D213", # Multi-line docstring summary should start at the second line
"ISC001", # Implicitly concatenated string literals on one line
"COM812", # Trailing comma missing
]
allowed-confusables = [""]

[tool.ruff.lint.per-file-ignores]
"*.py" = [
"T201", # `print` found
lint.per-file-ignores."*.py" = [
"ANN101", # Missing type annotation for `self` in method
"T201", # `print` found
]
"tests/*.py" = [
lint.per-file-ignores."tests/*.py" = [
"D",
"S101", # Use of assert detected
]

[tool.ruff.lint.pydocstyle]
convention = "google"
lint.allowed-confusables = [
"",
]
lint.pydocstyle.convention = "google"

[tool.mypy]
python_version = "3.12"
Expand Down

0 comments on commit 0ea2242

Please sign in to comment.