-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
3d00dd5
commit 0ea2242
Showing
1 changed file
with
25 additions
and
21 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
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" | ||
|
@@ -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" | ||
|