forked from bandophahita/selenium-axe-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
54 lines (35 loc) · 982 Bytes
/
Copy pathMakefile
File metadata and controls
54 lines (35 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# shortcuts to help manage flipping between branches with different dependencies
sync:
poetry install --extras dev --sync
update-lock-only:
poetry update --lock
update: update-lock-only
poetry install --extras dev
check:
poetry check
requirements:
poetry export --without-hashes --extras dev -f requirements.txt > requirements.txt
.PHONY: sync update-lock-only update check requirements
black-check:
black --check .
black-fix:
black .
ruff-check:
ruff check .
ruff-fix:
ruff check . --fix --show-fixes
mypy:
mypy .
lint: ruff-check mypy
test:
python3 -m pytest ./selenium_axe_python/tests/
pre-check-in: black-check ruff-check mypy
pre-check-in-fix: black-fix ruff-fix mypy
.PHONY: black-check black ruff mypy lint test pre-check-in pre-check-in-fix
axe-core-update:
python3 update_axe_core.py
.PHONY: axe-core-update
local_setup_selenium:
pip uninstall setup-selenium-testing -y
pip install -e ~/projects/setup_selenium
.PHONY: local_setup_selenium