Skip to content

Commit d654b8c

Browse files
committed
Update project from its own Copier template (v1.54).
1 parent 0883844 commit d654b8c

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

.auxiliary/configuration/copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v1.53
2+
_commit: v1.54
33
_src_path: gh:emcd/python-project-common
44
author_email: [email protected]
55
author_name: Eric McDonald

documentation/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,14 @@ def _import_version( ):
146146
'https://docs.python.org/3', None),
147147
'typing-extensions': (
148148
'https://typing-extensions.readthedocs.io/en/latest', None),
149+
# --- BEGIN: Injected by Copier ---
150+
'absence': (
151+
'https://emcd.github.io/python-absence/stable/sphinx-html', None),
152+
'dynadoc': (
153+
'https://emcd.github.io/python-dynadoc/stable/sphinx-html', None),
154+
'frigid': (
155+
'https://emcd.github.io/python-frigid/stable/sphinx-html', None),
156+
# --- END: Injected by Copier ---
149157
}
150158

151159
# -- Options for todo extension ----------------------------------------------

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ readme = { 'file' = 'sources/emcdproj/README.rst', 'content-type' = 'text/x-rst'
1616
requires-python = '>= 3.10'
1717
dependencies = [
1818
'Jinja2',
19-
'absence~=1.1',
2019
'defusedxml',
21-
'emcd-appcore~=1.0',
22-
'frigid~=4.1',
2320
'icecream-truck~=1.4',
2421
'packaging',
2522
'typing-extensions',
2623
# --- BEGIN: Injected by Copier ---
24+
'absence~=1.1',
25+
'dynadoc~=1.4',
26+
'frigid~=4.2',
2727
'emcd-appcore[cli]~=1.6',
2828
# --- END: Injected by Copier ---
2929
]

sources/emcdproj/__/imports.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,17 @@
4040
from pathlib import Path
4141

4242
import appcore
43-
import frigid as immut
4443
import typing_extensions as typx
4544
# --- BEGIN: Injected by Copier ---
46-
import tyro
45+
import dynadoc as ddoc
46+
import frigid as immut
47+
import tyro
4748
# --- END: Injected by Copier ---
4849

49-
from absence import Absential, absent, is_absent
5050
from appcore.state import Globals
51+
# --- BEGIN: Injected by Copier ---
52+
from absence import Absential, absent, is_absent
53+
# --- END: Injected by Copier ---
5154

5255

5356
simple_tyro_class = tyro.conf.configure( )

sources/emcdproj/exceptions.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@
2424
from . import __
2525

2626

27-
class Omniexception( __.immut.Object, BaseException ):
27+
class Omniexception( __.immut.exceptions.Omniexception ):
2828
''' Base for all exceptions raised by package API. '''
29-
# TODO: Class and instance attribute concealment.
30-
31-
_attribute_visibility_includes_: __.cabc.Collection[ str ] = (
32-
frozenset( ( '__cause__', '__context__', ) ) )
3329

3430

3531
class Omnierror( Omniexception, Exception ):

template/sources/{{ package_name }}/__/imports.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import dynadoc as ddoc
3333
import frigid as immut
3434
{%- endif %}
3535
{%- if enable_cli %}
36-
import tyro
36+
import tyro
3737
{%- endif %}
3838
# --- END: Injected by Copier ---
3939

0 commit comments

Comments
 (0)