Skip to content

Commit

Permalink
fix ruff configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Dec 16, 2022
1 parent 5cf9afa commit 422151a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .flake8

This file was deleted.

18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,22 @@ norecursedirs = [
]
testpaths = [
'tests',
]

[tool.ruff]
select = [
'F',
'W',
'E501',
'E711',
'E722',
]
# We should set max line length to 88 eventually
line-length = 130
extend-exclude = [
'docs',
'src/stpipe/extern',
]
extend-ignore = [
'F541', # f-string without any placeholders
]

0 comments on commit 422151a

Please sign in to comment.