File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed
Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 4747 cp pyproject.toml .github/linters
4848
4949 - name : Pylint
50- uses : super-linter/super-linter/slim@v7.2.1
50+ uses : super-linter/super-linter/slim@v7.3.0
5151 if : always()
5252 env :
5353 # run linter on everything to catch preexisting problems
8181
8282 - name : Run ruff format check
8383 run : ruff format --check .
84+
85+ black :
86+ name : Lint Code Base (black)
87+ runs-on : ubuntu-latest
88+
89+ steps :
90+ - name : Checkout Code
91+ uses : actions/checkout@v4
92+ with :
93+ # super-linter needs the full git history to get the
94+ # list of files that changed across commits
95+ fetch-depth : 0
96+
97+ - name : Set up Python 3.8
98+ uses : actions/setup-python@v5
99+ with :
100+ python-version : 3.8
101+
102+ - name : Install dependencies
103+ run : |
104+ mkdir -p .github/linters
105+ cp pyproject.toml .github/linters
106+
107+ - name : Black
108+ uses :
super-linter/super-linter/[email protected] 109+ if : always()
110+ env :
111+ # run linter on everything to catch preexisting problems
112+ VALIDATE_ALL_CODEBASE : true
113+ DEFAULT_BRANCH : master
114+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
115+ # Run only black
116+ VALIDATE_PYTHON_BLACK : true
117+ PYTHON_BLACK_CONFIG_FILE : pyproject.toml
118+ FILTER_REGEX_EXCLUDE : .*tests/.*.(json|zip|sol)
Original file line number Diff line number Diff line change 4545 path : dist/
4646
4747 - name : publish
48- 48+ 4949
5050 - name : sign
5151
You can’t perform that action at this time.
0 commit comments