Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Python Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Templates
Python Project
Commits
14f96bf6
Commit
14f96bf6
authored
4 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Improve makefile
parent
1db7616a
No related branches found
No related tags found
No related merge requests found
Pipeline
#15229
failed
4 years ago
Stage: install
Stage: install-dev
Stage: test
Stage: doc
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
{{cookiecutter.project_slug}}/Makefile
+35
-17
35 additions, 17 deletions
{{cookiecutter.project_slug}}/Makefile
with
35 additions
and
17 deletions
{{cookiecutter.project_slug}}/Makefile
+
35
−
17
View file @
14f96bf6
PKGNAME
={{
cookiecutter.project_slug
}}
default
:
build
all
:
install
install
:
install
:
pip
install
.
install-dev
:
pip
install
-e
".[dev]"
venv
:
python3
-m
venv venv
clean
:
python3 setup.py clean
--all
rm
-rf
venv
python setup.py clean
--all
test
:
test
:
py.test
--junitxml
=
./reports/junit.xml
-o
junit_suite_name
=
$(
PKGNAME
)
tests
test-cov
:
py.test
--cov
./
$(
PKGNAME
)
--cov-report
term-missing
--cov-report
xml:reports/coverage.xml
--cov-report
html:reports/coverage tests
test-loop
:
test-loop
:
py.test tests
ptw
--ext
=
.py,.pyx
--ignore
=
doc tests
yapf
:
yapf
-i
-r
$(
PKGNAME
)
yapf
-i
-r
tests
yapf
-i
setup.py
flake8
:
py.test
--flake8
pep8
:
flake8
docstyle
:
py.test
--docstyle
lint
:
py.test
--pylint
dependencies
:
pip
install
-Ur
requirements.txt
.PHONY
:
black
black
:
black km3io
black examples
black tests
black doc/conf.py
black setup.py
.PHONY
:
black-check
black-check
:
black
--check
km3io
black
--check
examples
black
--check
tests
black
--check
doc/conf.py
black
--check
setup.py
.PHONY
:
all clean install install-dev
venv
test test-cov
test-loop yapf
.PHONY
:
all clean install install-dev test
test-
no
cov
flake8 pep8 dependencies docstyle black black-check
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment