File tree 2 files changed +34
-4
lines changed
2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ max-parallel : 4
14
+ matrix :
15
+ python-version : [3.12]
16
+ timeout-minutes : 10
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ - name : Set up Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v3
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install Dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip
26
+ pip install uv
27
+ uv venv venv
28
+ . venv/bin/activate
29
+ uv pip install .[dev]
30
+ - name : Run Ruff
31
+ run : |
32
+ . venv/bin/activate
33
+ make lint-check
Original file line number Diff line number Diff line change @@ -391,7 +391,4 @@ def test_profile_detail_view_cant_follow_wrong_path(self):
391
391
response = self .client .post (f"/profiles/{ self .user .username } /follow/23" )
392
392
self .assertEqual (response .status_code , 404 )
393
393
except Exception as e :
394
- self .assertEqual (e .args [0 ], 'Cannot resolve "/profiles/testuser/follow/23"' )
395
-
396
- def test_the_ci_is_broken (self ):
397
- raise Exception ("just kiddin" )
394
+ self .assertEqual (e .args [0 ], 'Cannot resolve "/profiles/testuser/follow/23"' )
You can’t perform that action at this time.
0 commit comments