Spaces:
Sleeping
Sleeping
Clement Vachet
commited on
Commit
·
1f0b832
1
Parent(s):
237c90f
Add makefile for automated tasks
Browse files
Makefile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.PHONY: lint
|
2 |
+
lint: # Lints our code.
|
3 |
+
python -m pylint ./
|
4 |
+
|
5 |
+
.PHONY: black
|
6 |
+
black: # Formats our code.
|
7 |
+
python -m black ./
|
8 |
+
|
9 |
+
.PHONY: test
|
10 |
+
test: # Runs tests.
|
11 |
+
python -m pytest tests
|
12 |
+
|
13 |
+
|