Skip to content

Commit

Permalink
Update project from its own template via Copier. (v1.9)
Browse files Browse the repository at this point in the history
  • Loading branch information
emcd committed Jan 22, 2025
1 parent 1db4345 commit b6d1877
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
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.8
_commit: v1.9
_src_path: gh:emcd/python-project-common
author_email: emcd@users.noreply.github.com
author_name: Eric McDonald
Expand Down
8 changes: 4 additions & 4 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.8
uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@v1.9
with:
matrix-exclusions: '${{ needs.initialize.outputs.matrix-exclusions }}'
platforms: '${{ needs.initialize.outputs.platforms }}'
Expand All @@ -34,7 +34,7 @@ jobs:

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

Expand All @@ -44,14 +44,14 @@ jobs:
contents: write
id-token: write
pages: write
uses: emcd/python-project-common/.github/workflows/xrepo--documenter.yaml@v1.8
uses: emcd/python-project-common/.github/workflows/xrepo--documenter.yaml@v1.9
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.8
uses: emcd/python-project-common/.github/workflows/xrepo--packager.yaml@v1.9
with:
artifacts-path: '.auxiliary/artifacts/hatch-build' # TODO: Use environment.
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.8
uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@v1.9
with:
matrix-exclusions: '${{ needs.initialize.outputs.matrix-exclusions }}'
platforms: '${{ needs.initialize.outputs.platforms }}'
Expand All @@ -24,6 +24,6 @@ jobs:

report:
needs: [initialize, test]
uses: emcd/python-project-common/.github/workflows/xrepo--reporter.yaml@v1.8
uses: emcd/python-project-common/.github/workflows/xrepo--reporter.yaml@v1.9
with:
python-version: '${{ fromJSON(needs.initialize.outputs.python-versions)[0] }}'
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ suggestion-mode = true
const-rgx = '([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$'
good-names = [ '_', '__' ]
include-naming-hint = true
[tool.pylint.broad_try_clause]
max-try-statements = 2
[tool.pylint.classes]
defining-attr-methods = [ '__init__', '__new__', '__post_init__' ]
exclude-protected = [ ]
Expand Down Expand Up @@ -282,12 +284,15 @@ disable = [
'fixme',
'f-string-without-interpolation',
'import-outside-toplevel',
'invalid-name',
'logging-format-interpolation',
'logging-fstring-interpolation',
'multiple-statements',
'reimported',
'too-few-public-methods',
'ungrouped-imports',
'use-dict-literal',
'using-exception-groups-in-unsupported-version',
'wrong-import-order',
'wrong-import-position',
]
Expand Down Expand Up @@ -344,8 +349,9 @@ reportMatchNotExhaustive = true
reportMissingImports = true
reportMissingTypeStubs = true
reportMissingTypeArgument = true
reportPrivateUsage = true
reportSelfClsParameterName = false
reportPrivateImportUsage = false # Covered by other linters.
reportPrivateUsage = false # Covered by other linters.
reportSelfClsParameterName = false # Too opinionated.
reportUnknownArgumentType = true
reportUnknownLambdaType = true
reportUnknownMemberType = true
Expand All @@ -358,6 +364,8 @@ reportUntypedClassDecorator = true
reportUntypedFunctionDecorator = true
reportUntypedNamedTuple = true
reportUnusedExpression = true
reportUnusedImport = false # Covered by other linters.
reportUnusedVariable = false # Covered by other linters.
#strict = [ 'sources' ]
stubPath = 'sources/emcd_projects/_typedecls'

Expand Down

0 comments on commit b6d1877

Please sign in to comment.