-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove geekpic (shutdown) - Add absolufy-import - Add flake8-builtins - Add flake8-requirements
- Loading branch information
Showing
8 changed files
with
65 additions
and
36 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "images-upload-cli" | ||
version = "1.0.3" | ||
version = "1.0.4" | ||
description = "Upload images via APIs" | ||
authors = ["DeadNews <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -26,11 +26,13 @@ bandit = "^1.7.4" | |
black = "^22.3.0" | ||
flake8 = "^5.0.4" | ||
flake8-bugbear = "^22.4.25" | ||
flake8-builtins = "^1.5.3" | ||
flake8-comprehensions = "^3.10.0" | ||
flake8-implicit-str-concat = "^0.3.0" | ||
flake8-pie = "^0.16.0" | ||
flake8-pyproject = "^1.1.0" | ||
flake8-pytest-style = "^1.6.0" | ||
flake8-requirements = "^1.6.0" | ||
flake8-simplify = "^0.19.3" | ||
flake8-unused-arguments = "^0.0.11" | ||
flake8-use-pathlib = "^0.3.0" | ||
|
@@ -65,6 +67,9 @@ ignore = [ | |
"PIE803", # Use lazy % formatting in logging functions. | ||
"W503", # Line break occurred before a binary operator. | ||
] | ||
per-file-ignores = [ | ||
"tests/*: I900", # Package is not listed as a requirement. | ||
] | ||
|
||
[tool.mypy] | ||
disallow_untyped_defs = true | ||
|
@@ -100,11 +105,5 @@ mypy = "mypy ." | |
flake8 = "flake8 ." | ||
bandit = "bandit -c pyproject.toml -r ." | ||
safety = "safety check --bare" | ||
|
||
[tool.poe.tasks.ci] | ||
help = "CI sequence" | ||
sequence = ["isort", "black", "mypy", "flake8", "bandit", "safety"] | ||
|
||
[tool.poe.tasks.pc] | ||
help = "pre-commit" | ||
cmd = "pre-commit run --all-files" | ||
ci.sequence = ["isort", "black", "mypy", "flake8", "bandit", "safety"] | ||
pc = "pre-commit run --all-files" |
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,5 +1,5 @@ | ||
#!/usr/bin/env python | ||
# flake8: noqa F401 | ||
|
||
from .upload import HOSTINGS, UPLOAD, UploadError | ||
from .util import make_thumbnail | ||
from images_upload_cli.upload import HOSTINGS, UPLOAD, UploadError | ||
from images_upload_cli.util import make_thumbnail |
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
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
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