mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Swap pre-commit yapf for ruff/ruff-format, fix findings
This commit is contained in:
parent
b02f812e26
commit
49f82b325b
9 changed files with 110 additions and 81 deletions
8
ruff.toml
Normal file
8
ruff.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
target-version = "py39"
|
||||
|
||||
# Skip anything in the auxil directory. This includes pysubnetree which
|
||||
# should be handled separately.
|
||||
exclude = ["auxil"]
|
||||
|
||||
[lint]
|
||||
select = ["C4", "F", "I", "ISC", "UP"]
|
Loading…
Add table
Add a link
Reference in a new issue