FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
castle-python/Makefile at develop · castle/castle-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
castle
/
castle-python
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
4
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
castle-python
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (27 loc) · 736 Bytes
Breadcrumbs
castle-python
/
Makefile
Copy path
File metadata and controls
35 lines (27 loc) · 736 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
PIP
= pip3
PYTHON
= python3
.PHONY
= help ci-lint coverage lint format setup test
.DEFAULT_GOAL
= help
help
:
@echo
"
---------------HELP-----------------
"
@echo
"
To install the project type make setup
"
@echo
"
To run the tests type make test
"
@echo
"
To lint the project type make lint
"
@echo
"
To auto-format the project type make format
"
@echo
"
To check coverage type make coverage
"
@echo
"
------------------------------------
"
setup
:
${PIP}
install -e
"
.[test,lint]
"
test
:
${PYTHON}
-m unittest -v castle.test
lint
:
ruff check castle
ruff format --check castle
ci-lint
: lint
format
:
ruff check --fix castle
ruff format castle
coverage
:
${PIP}
install coverage
coverage run -m unittest castle.test
coverage report
Back
|
FazBrowse Home
|
New Git URL