Skip to content

Commit

Permalink
fix: failing ci-job for black formatting
Browse files Browse the repository at this point in the history
* (fix): add conditional installation of black ">=23.12.0" if it's
  python 3.12
  • Loading branch information
nautics889 committed Mar 22, 2024
1 parent 82a401d commit 3e38bc2
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 2 deletions.
196 changes: 195 additions & 1 deletion poetry.lock

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

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ urllib3 = "^2.0.7"
typing-extensions = "^4.1.1"

[tool.poetry.group.dev.dependencies]
black = { version = ">=22.1.0", extras = ["jupyter"] }
black = [
{ version = ">=23.1.0", extras = ["jupyter"], markers = "python_version < '3.12'" },
{ version = ">=23.12.0", extras = ["jupyter"], markers = "python_version >= '3.12'" }
]
ruff = ">=0.1,<0.3"
isort = ">=5.11.5"
mypy = ">=0.931"
Expand Down

0 comments on commit 3e38bc2

Please sign in to comment.