File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -23,5 +23,6 @@ source_env_if_exists .envrc.use_venv
23
23
# -- SETUP-PYTHON: Prepend ${HERE} to PYTHONPATH (as PRIMARY search path)
24
24
# SIMILAR TO: export PYTHONPATH="${HERE}:${PYTHONPATH}"
25
25
path_add PYTHONPATH .
26
+ path_add PATH bin
26
27
27
28
# DISABLED: source_env_if_exists .envrc.override
Original file line number Diff line number Diff line change @@ -19,15 +19,16 @@ name: release-to-pypi
19
19
on :
20
20
release :
21
21
types : [published]
22
- # MAYBE: if: github.event_name == "push" && startsWith(github.ref, "refs/tags/v")
23
-
22
+ tags :
23
+ - v0.*
24
+ - v1.*
24
25
permissions :
25
26
contents : read
26
27
27
28
jobs :
28
29
publish-package :
29
30
runs-on : ubuntu-latest
30
- # MAYBE: if: github.event_name == "push" && startsWith(github.ref, " refs/tags/v")
31
+ if : ${{ startsWith(github.ref, ' refs/tags/v') }}
31
32
environment :
32
33
name : pypi
33
34
url : https://pypi.org/p/parse-type
Original file line number Diff line number Diff line change 22
22
23
23
* pip install check-jsonschema
24
24
* pip install typer >= 0.12.5
25
+ * pip install typing-extensions
25
26
26
27
GITHUB WORKFLOW SCHEMA:
27
28
Original file line number Diff line number Diff line change 16
16
# -- PYTHON2/PYTHON3 COMPATIBILITY:
17
17
modernize >= 0.5
18
18
19
+ # -- PYTHON 3 TYPE HINTS:
20
+ typing-extensions; python_version >= '3.8'
21
+ typer >= 0.12.5; python_version >= '3.7'
22
+
19
23
# -- LINTERS:
20
24
ruff; python_version >= '3.7'
21
25
pylint
You can’t perform that action at this time.
0 commit comments