diff options
Diffstat (limited to 'src/debputy/manifest_parser/declarative_parser.py')
-rw-r--r-- | src/debputy/manifest_parser/declarative_parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debputy/manifest_parser/declarative_parser.py b/src/debputy/manifest_parser/declarative_parser.py index f18dc1c..850cfa8 100644 --- a/src/debputy/manifest_parser/declarative_parser.py +++ b/src/debputy/manifest_parser/declarative_parser.py @@ -652,7 +652,7 @@ class DebputyParseHint: Generally, this type hint must be placed on the **source** format. Any source attribute matching the parsed format will be ignored. - Mind the assymmetry: The annotation is placed in the **source** format while `debputy` looks at + Mind the asymmetry: The annotation is placed in the **source** format while `debputy` looks at the type of the target attribute to determine if it counts as path. """ return NOT_PATH_HINT @@ -795,7 +795,7 @@ class ParserGenerator: into: ["my-pkg"] ``` - While this is sufficient for programmers, it is a bit ridig for the packager writing the manifest. Therefore, + While this is sufficient for programmers, it is a bit rigid for the packager writing the manifest. Therefore, you can also provide a TypedDict describing the input, enabling more flexibility: >>> class InstallDocsRule(DebputyParsedContent): |