Skip to content

Commit

Permalink
Lint for 3.8
Browse files Browse the repository at this point in the history
Probably need to target the oldest supported python version, otherwise
things in CI keep breaking (e.g. black reformats for parenthetically
grouped context managers, which aren't supported in 3.8)
  • Loading branch information
n8henrie committed May 14, 2024
1 parent f84a5b2 commit 3893822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.black]
line-length = 79
target_version = ['py311']
target_version = ['py38']

[tool.isort]
profile = "black"
Expand All @@ -25,7 +25,7 @@ disallow_untyped_calls = true
disallow_untyped_defs = true
follow_imports = "silent"
ignore_missing_imports = true
python_version = "3.11"
python_version = "3.8"
show_column_numbers = true
warn_incomplete_stub = false
warn_redundant_casts = true
Expand Down

0 comments on commit 3893822

Please sign in to comment.