Skip to content

Commit

Permalink
update template configs
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 25, 2024
1 parent ffabc78 commit 7595bec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions template/.control/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ health:
path: CODE_OF_CONDUCT.md
content:
class: covenant_code_of_conduct
contact_name: ${{ maintainer.code_of_conduct.name.full }}$
contact_url: ${{ maintainer.code_of_conduct.email.url }}$
contact_name: ${{ team.${{{ maintainer.code_of_conduct }}}$.name.full }}$
contact_url: ${{ team.${{{ maintainer.code_of_conduct }}}$.email.url }}$
contributing:
path: CONTRIBUTING.md
content:
Expand Down
4 changes: 1 addition & 3 deletions template/.control/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
pkg:
path:
root: pkg
name: ${{ name }}$
import_name: ${{ pkg.name }}$
readme:
path: ${{ pkg.path.root }}$/README.md
content: ${{ readme.main.content }}$
Expand Down Expand Up @@ -39,7 +37,7 @@ pkg:
${{ abstract }}$
${{ license.notice }}$
${{ license.header }}$
manifest:
- graft ${{ pkg.path.source_rel }}$/${{ pkg.import_name }}$/data
- include ${{ pkg.path.source_rel }}$/${{ pkg.import_name }}$/py.typed
Expand Down
5 changes: 2 additions & 3 deletions template/.control/test.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
test:
path:
root: tests
name: ${{ name }}$-TestSuite
import_name: ${{ test.name }}$
name: ${{ pkg.name }}$-TestSuite
dependency:
core:
testing:
Expand Down Expand Up @@ -84,7 +83,7 @@ test:
docstring: |
${{ name }}$ Test-Suite.
${{ license.notice }}$
${{ license.header }}$
manifest:
- graft ${{ test.path.source_rel }}$/${{ test.import_name }}$/data
- include ${{ test.path.source_rel }}$/${{ test.import_name }}$/py.typed
Expand Down

0 comments on commit 7595bec

Please sign in to comment.