mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
adds a ruff.toml file for config
This commit is contained in:
5
.github/ruff.toml
vendored
Normal file
5
.github/ruff.toml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
select = ["E"]
|
||||
ignore = []
|
||||
|
||||
# Same as pycodestyle.
|
||||
line-length = 180
|
||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pip install -e .[dev]
|
||||
- name: Lint with ruff
|
||||
run: ruff check .
|
||||
run: ruff --config .github/ruff.toml --exclude "*_pb2.pyi" check .
|
||||
- name: Lint with isort
|
||||
run: isort --profile black --length-sort --line-width 120 --skip-glob "*_pb2.py" -c .
|
||||
- name: Lint with black
|
||||
|
||||
Reference in New Issue
Block a user