Debian Codegraph @

Makefile

raw symbols SCIP
1 # Copyright (C) 2012, 2013 Sebastian Wiesner <[email protected]>
2
3 # This library is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by the
5 # Free Software Foundation; either version 2.1 of the License, or (at your
6 # option) any later version.
7
8 # This library is distributed in the hope that it will be useful, but WITHOUT
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
11 # for more details.
12
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with this library; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
17 package:
18 (umask 0022; python -m build; python -m twine check --strict ./dist/*)
19
20 lint:
21 pylint setup.py
22 pylint src/pyudev
23
24 PYREVERSE_OPTS = --output=pdf
25 view:
26 -rm -Rf _pyreverse
27 mkdir _pyreverse
28 PYTHONPATH=src pyreverse ${PYREVERSE_OPTS} --project="pyudev" src/pyudev
29 mv classes_pyudev.pdf _pyreverse
30 mv packages_pyudev.pdf _pyreverse
31
32 archive:
33 git archive --output=./archive.tar.gz HEAD
34
35 .PHONY: test-travis
36 test-travis:
37 py.test --junitxml=tests.xml -rfEsxX
38
39 .PHONY: fmt
40 fmt:
41 isort setup.py src tests
42 black .
43
44 .PHONY: fmt-travis
45 fmt-travis:
46 isort --diff --check-only setup.py src tests
47 black . --check
48
49 .PHONY: yamllint
50 yamllint:
51 yamllint --strict .github/workflows/*.yml