Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"python.languageServer": "Pylance",
"python.languageServer": "None",
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
Expand Down
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

SHELL=/bin/bash
CONDA_ACTIVATE=source $$(conda info --base)/etc/profile.d/conda.sh ; conda activate ; conda activate
VENV_ACTIVATE=source venv/bin/activate

.PHONY: test
test:
Expand Down Expand Up @@ -37,9 +37,8 @@ freeze:

.PHONY: init
init:
conda create -y -n sparrow-patterns python=3.12 pip
conda init
$(CONDA_ACTIVATE) sparrow-patterns ; pip install -U pip uv ; make freeze ; pip install -r requirements-dev.txt
python3.12 -m venv venv
$(VENV_ACTIVATE) ; pip install -U pip uv ; make freeze ; pip install -r requirements-dev.txt
git init
git add .
git commit -m "first commit :rocket:"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "sparrow-patterns"
version = "0.8.0"
version = "0.8.1"
description = "A CLI for updating code patterns in Python projects"
authors = [
{name = "Sparrow Computing", email = "[email protected]"},
Expand Down
7 changes: 3 additions & 4 deletions sparrow_patterns/makefile/templates/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SHELL=/bin/bash
CONDA_ACTIVATE=source $$(conda info --base)/etc/profile.d/conda.sh ; conda activate ; conda activate
VENV_ACTIVATE=source venv/bin/activate

.PHONY: test
test:
Expand Down Expand Up @@ -37,9 +37,8 @@ freeze:

.PHONY: init
init:
conda create -y -n {{ project_name }} python=3.12 pip
conda init
$(CONDA_ACTIVATE) {{ project_name }} ; pip install -U pip uv ; make freeze ; pip install -r requirements-dev.txt
python3.12 -m venv venv
$(VENV_ACTIVATE) ; pip install -U pip uv ; make freeze ; pip install -r requirements-dev.txt
git init
git add .
git commit -m "first commit :rocket:"
2 changes: 1 addition & 1 deletion sparrow_patterns/vscode/templates/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"python.languageServer": "Pylance",
"python.languageServer": "None",
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
Expand Down