File tree 6 files changed +21
-19
lines changed
6 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"_dest_dir" : " worktree" ,
3
+ "_setuptools_scm_root" : " " ,
3
4
"_template" : " ../cookiecutter-python-cli" ,
4
5
"_template_name" : " cookiecutter-python-cli" ,
5
6
"author_email" :
" [email protected] " ,
Original file line number Diff line number Diff line change 72
72
with :
73
73
linters : pytest
74
74
run : make test-pytest
75
- - name : cram , readme
76
- run : make test-cram readme
75
+ - name : prysk , readme
76
+ run : make test-prysk readme
77
77
- name : check-wheel
78
78
run : make check-wheel
79
79
@@ -140,7 +140,7 @@ jobs:
140
140
with :
141
141
linters : pytest
142
142
run : make test-pytest
143
- - name : cram , readme
143
+ - name : prysk , readme
144
144
run : make readme
145
145
- name : check-wheel
146
146
run : make check-wheel
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ lint-isort: $(VENV_DONE)
51
51
$(VENV_PYTHON ) -m isort --check $(LINT_SOURCES )
52
52
53
53
.PHONY : test
54
- test : test-pytest test-cram
54
+ test : test-pytest test-prysk
55
55
56
56
.PHONY : test-pytest
57
57
test-pytest : $(VENV_DONE )
@@ -61,17 +61,17 @@ test-pytest: $(VENV_DONE)
61
61
readme : README.md
62
62
git diff --exit-code $^
63
63
64
- .PHONY : test-cram
65
- test-cram : CRAM_INTERACTIVE =$(shell [ -t 0 ] && echo --interactive)
66
- test-cram : $(VENV_DONE )
64
+ .PHONY : test-prysk
65
+ test-prysk : PRYSK_INTERACTIVE =$(shell [ -t 0 ] && echo --interactive)
66
+ test-prysk : $(VENV_DONE )
67
67
PATH=" $( CURDIR) /$( VENV) /bin:$$ PATH" \
68
68
XDG_DATA_HOME=/home/user/.local/share \
69
69
XDG_CONFIG_HOME=/home/user/.config \
70
- $(VENV_PYTHON ) tests/cram -noescape.py --indent=4 --shell=/bin/bash $(CRAM_INTERACTIVE ) \
70
+ $(VENV_PYTHON ) tests/prysk -noescape.py --indent=4 --shell=/bin/bash $(PRYSK_INTERACTIVE ) \
71
71
$(wildcard tests/* .md tests/* /* .md tests/* /* /* .md)
72
72
73
73
.PHONY : README.md
74
- README.md : test-cram
74
+ README.md : test-prysk
75
75
tests/include.py < $@ > $@ .tmp
76
76
mv -f $@ .tmp $@
77
77
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ dependencies = [
38
38
[project .optional-dependencies ]
39
39
dev = [
40
40
" build >= 0.7" ,
41
- " cram" ,
42
41
" flake8 >= 3.7" ,
43
42
" isort >= 5.0" ,
44
43
" mypy >= 0.900" ,
44
+ " prysk == 0.16.0" ,
45
45
" twine" ,
46
46
" types-PyYAML" ,
47
47
" types-python-dateutil" ,
@@ -73,7 +73,6 @@ dependencies-apt = [
73
73
" python3-click" ,
74
74
" python3-click-option-group" ,
75
75
" python3-configobj" ,
76
- " python3-cram" ,
77
76
" python3-dateutil" ,
78
77
" python3-flake8" ,
79
78
" python3-importlib-metadata" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+
3
+ from pathlib import Path
4
+ import runpy
5
+
6
+ import prysk .test # type: ignore [import]
7
+
8
+ prysk .test ._IS_ESCAPING_NEEDED = lambda _ : False
9
+ prysk .test ._findtests = lambda paths : map (Path , paths ) # https://github.com/prysk/prysk/issues/224
10
+ runpy .run_module ('prysk' )
You can’t perform that action at this time.
0 commit comments