File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 11{
22 "recommendations" : [
33 " ms-python.python" ,
4- " EditorConfig.editorconfig"
4+ " EditorConfig.editorconfig" ,
5+ " ms-python.flake8" ,
56 ]
67}
Original file line number Diff line number Diff line change 1010
1111 // Formatting
1212 "editor.formatOnSave" : true ,
13- "python.formatting.provider" : " black" ,
14-
15- // Linting
16- "python.linting.enabled" : true ,
17- "python.linting.pylintEnabled" : false ,
18- "python.linting.flake8Enabled" : true ,
1913
2014 // Tests
2115 "python.testing.unittestEnabled" : false ,
2216 "python.testing.pytestEnabled" : true ,
23- "python.testing.nosetestsEnabled" : false
17+
18+ "python.terminal.activateEnvironment" : true ,
19+ "python.defaultInterpreterPath" : " ~/venv/bin/python3"
2420}
Original file line number Diff line number Diff line change 11VENV_NAME? =venv
22PIP? =pip
3- PYTHON? =python
3+ PYTHON? =python3
44
55venv : $(VENV_NAME ) /bin/activate
66
7- $(VENV_NAME ) /bin/activate : setup.py
8- $(PIP ) install --upgrade pip virtualenv
9- @test -d $(VENV_NAME ) || $(PYTHON ) -m virtualenv --clear $(VENV_NAME )
7+ $(VENV_NAME ) /bin/activate : setup.py requirements.txt
8+ @test -d $(VENV_NAME ) || $(PYTHON ) -m venv --clear $(VENV_NAME )
109 ${VENV_NAME} /bin/python -m pip install -r requirements.txt
1110 @touch $(VENV_NAME ) /bin/activate
1211
You can’t perform that action at this time.
0 commit comments