Skip to content

Commit

Permalink
Update ruff config to fix warnings (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Aug 26, 2024
1 parent 805140f commit 57fadc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ build-backend = "setuptools.build_meta"
write_to = "micropip/_version.py"

[tool.ruff]
select = [
lint.select = [
"E", # pycodestyles
"W", # pycodestyles
"F", # pyflakes
Expand All @@ -54,11 +54,11 @@ select = [
]
# Remove E999 once pattern matching is supported
# https://github.com/charliermarsh/ruff/issues/282
ignore = ["E402", "E501", "E731", "E741", "E999"]
lint.ignore = ["E402", "E501", "E731", "E741", "E999"]
target-version = "py311"


[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = [
"micropip"
]
Expand Down

0 comments on commit 57fadc7

Please sign in to comment.