Spaces:
Running
on
Zero
Running
on
Zero
Delete .github
Browse files- .github/workflows/pylint.yml +0 -27
.github/workflows/pylint.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
name: Ruff
|
2 |
-
|
3 |
-
on: [push]
|
4 |
-
|
5 |
-
jobs:
|
6 |
-
build:
|
7 |
-
runs-on: ubuntu-latest
|
8 |
-
strategy:
|
9 |
-
matrix:
|
10 |
-
python-version: ["3.10"]
|
11 |
-
steps:
|
12 |
-
- name: Checkout repository and submodules
|
13 |
-
uses: actions/checkout@v3
|
14 |
-
- name: Set up Python ${{ matrix.python-version }}
|
15 |
-
uses: actions/setup-python@v3
|
16 |
-
with:
|
17 |
-
python-version: ${{ matrix.python-version }}
|
18 |
-
- name: Install dependencies
|
19 |
-
run: |
|
20 |
-
python -m pip install --upgrade pip
|
21 |
-
pip install ruff==0.2.2 black==24.2.0
|
22 |
-
- name: Analyzing the code with ruff
|
23 |
-
run: |
|
24 |
-
ruff $(git ls-files '*.py')
|
25 |
-
- name: Verify that no Black changes are required
|
26 |
-
run: |
|
27 |
-
black --check $(git ls-files '*.py')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|