Skip to content

Commit dffe57f

Browse files
authoredMar 5, 2024··
enable isort with black profile (#330)
1 parent 63e0902 commit dffe57f

File tree

248 files changed

+551
-661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+551
-661
lines changed
 

‎.pre-commit-config.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,9 @@ repos:
4747
# todo: replace black with this?
4848
# Run the formatter.
4949
# - id: ruff-format
50+
- repo: https://github.com/pycqa/isort
51+
rev: 5.13.2
52+
hooks:
53+
- id: isort
54+
exclude: tests/samples/
55+
args: ["--profile", "black"]

‎ci_tests/test_pygoat_findings.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import pytest
44

5-
65
EXPECTED_FINDINGS = [
76
"pixee:python/add-requests-timeouts",
87
"pixee:python/secure-random",

0 commit comments

Comments
 (0)
Please sign in to comment.