File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,5 +23,6 @@ source_env_if_exists .envrc.use_venv
2323# -- SETUP-PYTHON: Prepend ${HERE} to PYTHONPATH (as PRIMARY search path)
2424# SIMILAR TO: export PYTHONPATH="${HERE}:${PYTHONPATH}"
2525path_add PYTHONPATH .
26+ path_add PATH bin
2627
2728# 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
1919on :
2020 release :
2121 types : [published]
22- # MAYBE: if: github.event_name == "push" && startsWith(github.ref, "refs/tags/v")
23-
22+ tags :
23+ - v0.*
24+ - v1.*
2425permissions :
2526 contents : read
2627
2728jobs :
2829 publish-package :
2930 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') }}
3132 environment :
3233 name : pypi
3334 url : https://pypi.org/p/parse-type
Original file line number Diff line number Diff line change 2222
2323* pip install check-jsonschema
2424* pip install typer >= 0.12.5
25+ * pip install typing-extensions
2526
2627GITHUB WORKFLOW SCHEMA:
2728
Original file line number Diff line number Diff line change 1616# -- PYTHON2/PYTHON3 COMPATIBILITY:
1717modernize >= 0.5
1818
19+ # -- PYTHON 3 TYPE HINTS:
20+ typing-extensions; python_version >= '3.8'
21+ typer >= 0.12.5; python_version >= '3.7'
22+
1923# -- LINTERS:
2024ruff; python_version >= '3.7'
2125pylint
You can’t perform that action at this time.
0 commit comments