File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 19
19
with :
20
20
ref : ${{ github.event.pull_request.head.ref }}
21
21
repository : ${{ github.event.pull_request.head.repo.full_name }}
22
- - name : Build alteryx_open_src_update_checker package
23
- run : make package
24
- - name : Install alteryx_open_src_update_checker with dev requirements
22
+ - name : Install dev requirements
25
23
run : |
26
- pip config --site set global.progress_bar off
27
- python -m pip install --upgrade pip
28
24
python -m pip install -e .[dev]
29
25
- name : Run lint test
30
26
run : make lint
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ repos:
23
23
hooks :
24
24
- id : add-trailing-comma
25
25
name : Add trailing comma
26
+ - repo : https://github.com/charliermarsh/ruff-pre-commit
27
+ rev : ' v0.0.191'
28
+ hooks :
29
+ - id : ruff
26
30
- repo : https://github.com/PyCQA/isort
27
31
rev : 5.10.1
28
32
hooks :
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ clean:
10
10
lint :
11
11
isort --check-only alteryx_open_src_update_checker
12
12
black alteryx_open_src_update_checker -t py311 --check
13
- flake8 alteryx_open_src_update_checker
13
+ ruff alteryx_open_src_update_checker/
14
14
15
15
.PHONY : lint-fix
16
16
lint-fix :
17
- black alteryx_open_src_update_checker -t py310
17
+ black alteryx_open_src_update_checker -t py311
18
18
isort alteryx_open_src_update_checker
19
19
20
20
.PHONY : test
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ dependencies = [
40
40
41
41
[project .optional-dependencies ]
42
42
dev = [
43
- " flake8 == 5.0.4 " ,
43
+ " ruff " ,
44
44
" isort == 5.10.1" ,
45
45
" black == 22.6.0" ,
46
46
" pre-commit == 2.20.0" ,
You can’t perform that action at this time.
0 commit comments