-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rearrange pyproject for easier sync between packages * sync tox.ini * sync mypy.ini * sync lint.yaml * sync poetry.yml * sync .gitignore * test__version__.py * avoiding #36 * adding copyright year test * sync conf.py * setting up docs installation via pyproject.toml * centering ascii art * adjusting boilerplate pyproject.toml * cleaner test format * sync conf.py * adding license copyright test * sync pyproject.toml * adding test for copyright in `__init__.py`
- Loading branch information
1 parent
a6eed1a
commit 19a9862
Showing
14 changed files
with
253 additions
and
186 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
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 |
---|---|---|
|
@@ -34,6 +34,6 @@ jobs: | |
|
||
- name: Check toml structure | ||
run: poetry check | ||
|
||
- name: Check lock file | ||
run: poetry lock --check |
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 |
---|---|---|
|
@@ -144,3 +144,6 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# ruff linter | ||
.ruff_cache/ |
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,24 +1,17 @@ | ||
# shortcuts | ||
# shortcuts to help manage flipping between branches with different dependencies | ||
sync: | ||
poetry install --extras dev_all --sync | ||
poetry install --extras dev --sync | ||
|
||
update_lock_only: | ||
poetry update --lock | ||
|
||
update: update_lock_only | ||
poetry install --extras dev_all | ||
poetry install --extras dev | ||
|
||
check: | ||
poetry check | ||
|
||
trunk_screenpy: | ||
poetry add screenpy git+ssh://[email protected]:ScreenPyHQ/screenpy.git#trunk | ||
|
||
local_screenpy: | ||
pip uninstall screenpy | ||
pip install -e ~/projects/screenpy | ||
|
||
.PHONY: sync update trunk_screenpy local_screenpy | ||
.PHONY: sync update_lock_only update check | ||
|
||
black-check: | ||
black --check . | ||
|
@@ -42,3 +35,21 @@ pre-check-in: black-check ruff-check mypy | |
pre-check-in-fix: black-fix ruff-fix mypy | ||
|
||
.PHONY: pre-check-in pre-check-in-fix | ||
|
||
# requires poetry-plugin-export | ||
requirements: | ||
poetry export --without-hashes --extras dev -f requirements.txt > requirements.txt | ||
|
||
.PHONY: requirements | ||
|
||
################################################################################ | ||
# sub-package specific | ||
|
||
trunk_screenpy: | ||
poetry add screenpy git+ssh://[email protected]:ScreenPyHQ/screenpy.git#trunk | ||
|
||
local_screenpy: | ||
pip uninstall screenpy | ||
pip install -e ~/projects/screenpy | ||
|
||
.PHONY: trunk_screenpy local_screenpy |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.