mirror of
https://github.com/mandiant/capa.git
synced 2025-12-25 04:14:55 -08:00
solving unresolvable issues using --fix and ignoring some issues
This commit is contained in:
5
.github/ruff.toml
vendored
5
.github/ruff.toml
vendored
@@ -1,5 +1,6 @@
|
||||
select = ["E"]
|
||||
ignore = []
|
||||
ignore = ["E402", "E722", "E902"]
|
||||
exclude = ["*_pb2.py", "*_pb2.pyi", "capa2yara.py"]
|
||||
|
||||
# Same as pycodestyle.
|
||||
line-length = 180
|
||||
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 --config .github/ruff.toml --exclude "*_pb2.pyi" check .
|
||||
run: ruff --config .github/ruff.toml 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