Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .auxiliary/configuration/copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: v1.16
_commit: v1.17-2-g732474d
_src_path: gh:emcd/python-project-common
author_email: emcd@users.noreply.github.com
author_name: Eric McDonald
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

test:
needs: [initialize]
uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@v1.16
uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@release-1.17
with:
matrix-exclusions: '${{ needs.initialize.outputs.matrix-exclusions }}'
platforms: '${{ needs.initialize.outputs.platforms }}'
Expand All @@ -33,7 +33,7 @@ jobs:

report:
needs: [initialize, test]
uses: emcd/python-project-common/.github/workflows/xrepo--reporter.yaml@v1.16
uses: emcd/python-project-common/.github/workflows/xrepo--reporter.yaml@release-1.17
with:
python-version: '${{ fromJSON(needs.initialize.outputs.python-versions)[0] }}'

Expand All @@ -43,14 +43,14 @@ jobs:
contents: write
id-token: write
pages: write
uses: emcd/python-project-common/.github/workflows/xrepo--documenter.yaml@v1.16
uses: emcd/python-project-common/.github/workflows/xrepo--documenter.yaml@release-1.17
with:
include-reports: true
python-version: '${{ fromJSON(needs.initialize.outputs.python-versions)[0] }}'

package:
needs: [initialize, docsgen]
uses: emcd/python-project-common/.github/workflows/xrepo--packager.yaml@v1.16
uses: emcd/python-project-common/.github/workflows/xrepo--packager.yaml@release-1.17
with:
artifacts-path: '.auxiliary/artifacts/hatch-build' # TODO: Use environment.
python-version: '${{ fromJSON(needs.initialize.outputs.python-versions)[0] }}'
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
steps:

- name: Prepare Python
uses: emcd/python-project-common/.github/actions/python-hatch@v1.16
uses: emcd/python-project-common/.github/actions/python-hatch@release-1.17
with:
python-version: ${{ fromJSON(needs.initialize.outputs.python-versions)[0] }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

test:
needs: [initialize]
uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@v1.16
uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@release-1.17
with:
matrix-exclusions: '${{ needs.initialize.outputs.matrix-exclusions }}'
platforms: '${{ needs.initialize.outputs.platforms }}'
Expand All @@ -23,6 +23,6 @@ jobs:

report:
needs: [initialize, test]
uses: emcd/python-project-common/.github/workflows/xrepo--reporter.yaml@v1.16
uses: emcd/python-project-common/.github/workflows/xrepo--reporter.yaml@release-1.17
with:
python-version: '${{ fromJSON(needs.initialize.outputs.python-versions)[0] }}'
24 changes: 14 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,27 +137,31 @@ PYTHONUNBUFFERED = 'TRUE' # TODO: Only for coverage/pytest.
# --- END: Injected by Copier ---
[tool.hatch.envs.develop.scripts]
docsgen = [
'''sphinx-build -E -b doctest -d .auxiliary/caches/sphinx \
documentation .auxiliary/artifacts/sphinx-doctest''',
'''sphinx-build -E -b linkcheck -d .auxiliary/caches/sphinx \
documentation .auxiliary/artifacts/sphinx-linkcheck''',
'''sphinx-build -a -d .auxiliary/caches/sphinx \
documentation .auxiliary/artifacts/sphinx-html''',
"""sphinx-build -E -b linkcheck -d .auxiliary/caches/sphinx \
documentation .auxiliary/artifacts/sphinx-linkcheck""",
"""sphinx-build -a -d .auxiliary/caches/sphinx \
documentation .auxiliary/artifacts/sphinx-html""",
]
linters = [
'''ruff check --quiet sources documentation tests''',
"""ruff check --quiet sources documentation tests""",
# --- BEGIN: Injected by Copier ---
# --- END: Injected by Copier ---
'''pyright sources''',
"""pyright sources""",
]
packagers = [
'''hatch build''',
"""hatch build""",
# --- BEGIN: Injected by Copier ---
# --- END: Injected by Copier ---
]
testers = [
testers-no-reports = [
'coverage erase',
'coverage run',
"""coverage run -m sphinx.cmd.build \
-E -b doctest -d .auxiliary/caches/sphinx \
documentation .auxiliary/artifacts/sphinx-doctest""",
]
testers = [
'testers-no-reports',
'coverage combine',
'coverage report --skip-covered',
'coverage html',
Expand Down
5 changes: 0 additions & 5 deletions sources/emcdproj/__/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,8 @@
''' Common constants, imports, and utilities. '''


# Expose everything from internal modules.
from .imports import *
from .application import Information as ApplicationInformation
from .distribution import Information as DistributionInformation
from .imports import *
from .preparation import *
from .state import Globals


__all__ = ( )