We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b71d3 commit c68406aCopy full SHA for c68406a
Makefile
@@ -0,0 +1,30 @@
1
+init:
2
+ @echo "Upgrading pip..."
3
+ pip install --upgrade --user pip
4
+ @echo "Installing venv.."
5
+ # pip install venv
6
+ @echo "Creating .venv..."
7
+ python3.10 -m venv .venv
8
+ @echo "Appending .venv to .gitignore..."
9
+ echo "" >> .gitignore
10
+ echo "# Virtual environment"
11
+ echo ".venv/" >> .gitignore
12
+ @echo "Appending .vscode to .gitignore..."
13
14
+ echo "# VS code"
15
16
+ @echo "Activating .venv and installing required packages..."
17
+ . .venv/bin/activate &&\
18
+ pip install --upgrade pip &&\
19
+ pip install -r requirements.txt
20
+
21
+test:
22
+ python -m pytest -vv test_hello.py
23
24
+format:
25
+ black *.py
26
27
+lint:
28
+ pylint --disable=R,C hello.py
29
30
+all: init lint test
0 commit comments