-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
446 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Changes here will be overwritten by Copier | ||
_commit: 1.2.6 | ||
_src_path: gh:pawamoy/copier-pdm | ||
_commit: 1.0.8 | ||
_src_path: gh:pawamoy/copier-uv | ||
author_email: [email protected] | ||
author_fullname: Timothée Mazzucotelli | ||
author_username: pawamoy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PATH_add scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,27 @@ | ||
.DEFAULT_GOAL := help | ||
SHELL := bash | ||
DUTY := $(if $(VIRTUAL_ENV),,pdm run) duty | ||
export PDM_MULTIRUN_VERSIONS ?= 3.8 3.9 3.10 3.11 3.12 | ||
export PDM_MULTIRUN_USE_VENVS ?= $(if $(shell pdm config python.use_venv | grep True),1,0) | ||
# If you have `direnv` loaded in your shell, and allow it in the repository, | ||
# the `make` command will point at the `scripts/make` shell script. | ||
# This Makefile is just here to allow auto-completion in the terminal. | ||
|
||
args = $(foreach a,$($(subst -,_,$1)_args),$(if $(value $a),$a="$($a)")) | ||
check_quality_args = files | ||
docs_args = host port | ||
release_args = version | ||
test_args = match | ||
fuzz_args = seeds min_seed max_seed size | ||
|
||
BASIC_DUTIES = \ | ||
actions = \ | ||
changelog \ | ||
check \ | ||
check-api \ | ||
check-dependencies \ | ||
check-docs \ | ||
check-quality \ | ||
check-types \ | ||
clean \ | ||
coverage \ | ||
docs \ | ||
docs-deploy \ | ||
format \ | ||
help \ | ||
release \ | ||
fuzz \ | ||
run \ | ||
setup \ | ||
test \ | ||
vscode | ||
|
||
QUALITY_DUTIES = \ | ||
check-quality \ | ||
check-docs \ | ||
check-types \ | ||
test | ||
|
||
.PHONY: help | ||
help: | ||
@$(DUTY) --list | ||
|
||
.PHONY: lock | ||
lock: | ||
@pdm lock -G:all | ||
|
||
.PHONY: setup | ||
setup: | ||
@bash scripts/setup.sh | ||
|
||
.PHONY: check | ||
check: | ||
@pdm multirun duty check-quality check-types check-docs | ||
@$(DUTY) check-dependencies check-api | ||
|
||
.PHONY: $(BASIC_DUTIES) | ||
$(BASIC_DUTIES): | ||
@$(DUTY) $@ $(call args,$@) | ||
|
||
.PHONY: $(QUALITY_DUTIES) | ||
$(QUALITY_DUTIES): | ||
@pdm multirun duty $@ $(call args,$@) | ||
.PHONY: $(actions) | ||
$(actions): | ||
@bash scripts/make "$@" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
[pytest] | ||
norecursedirs = | ||
.git | ||
.tox | ||
.env | ||
dist | ||
build | ||
python_files = | ||
test_*.py | ||
*_test.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.