Skip to content

Commit

Permalink
ci: replace isort with flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Dec 9, 2023
1 parent a7f7bc2 commit 7e05366
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bugmon/bugmon.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def _pernosco(self) -> None:
if "pernosco" in self.bug.commands:
self.remove_command("pernosco")

if not "pernosco-failed" in self.bug.commands:
if "pernosco-failed" not in self.bug.commands:
if "pernosco-wanted" in self.bug.keywords:
self.bug.keywords.remove("pernosco-wanted")
self.bug.keywords.append("pernosco")
Expand Down
71 changes: 70 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ typing-extensions = "^4.2.0"
black = "^23.11.0"
coverage = {extras = ["toml"], version = "^7.2.3"}
gitlint = "^0.19.1"
isort = "^5.13.0"
mypy = "^1.7.1"
pre-commit = "^3.5.0"
pylint = "^3.0.2"
Expand All @@ -82,6 +81,9 @@ toml = "^0.10.2"
toml-sort = "^0.23.1"
tox = "^4.11.4"
types-requests = "^2.31.0.10"
flake8 = "^6.1.0"
flake8-isort = "^6.1.1"
flake8-quotes = "^3.3.2"

[tool.poetry.scripts]
bugmon = "bugmon.main:main"
Expand Down

0 comments on commit 7e05366

Please sign in to comment.