-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
30 lines (24 loc) · 787 Bytes
/
Copy pathTaskfile.yaml
File metadata and controls
30 lines (24 loc) · 787 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
version: '3'
tasks:
install:
desc: Installs the dependencies with poetry
cmd: poetry install
tests:
desc: Executes the python tests
cmds:
- poetry run pytest .
fixcs:
desc: Fixes possible code style issues
cmds:
- poetry run autopep8 --in-place --aggressive --aggressive --recursive ./easybill_rest/
pylint:
desc: Lints the python code with pylint
cmds:
- poetry run pylint ./easybill_rest --rcfile=./pylint.rc
mypy:
desc: Uses mypy for type checking
cmds:
- poetry run mypy --ignore-missing-imports ./easybill_rest/resources/ ./easybill_rest/__init__.py ./easybill_rest/helper.py
test_workflows:
desc: Uses act to test the github workflows
cmd: act --rm --quiet --workflows ./.github/workflows