forked from cookiecutter/cookiecutter-django
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(improved-templating): use cookiecutter's built-in booleans inste…
…ad of "y" and "n" also add mypy, uv, and some more "robust" error-checking code
- Loading branch information
Karl Wooster
committed
Mar 12, 2024
1 parent
6523771
commit 6783de9
Showing
16 changed files
with
466 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
{ | ||
"esbonio.sphinx.confDir": "" | ||
"esbonio.sphinx.confDir": "", | ||
"files.associations": { | ||
"*.js": "jinja-javascript", | ||
"javascript": "jinja-javascript", | ||
"*.yml": "jinja-yaml", | ||
"Dockerfile": "jinja-dockerfile", | ||
"*.sh": "jinja-shell", | ||
"shellscript": "jinja-shell", | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from _typeshed import Incomplete | ||
|
||
from .helpers import get_starting_chunk as get_starting_chunk | ||
from .helpers import is_binary_string as is_binary_string | ||
|
||
logger: Incomplete | ||
|
||
def is_binary(filename:str) -> bool: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from _typeshed import Incomplete | ||
|
||
class CookiecutterException(Exception): ... | ||
class NonTemplatedInputDirException(CookiecutterException): ... | ||
class UnknownTemplateDirException(CookiecutterException): ... | ||
class MissingProjectDir(CookiecutterException): ... | ||
class ConfigDoesNotExistException(CookiecutterException): ... | ||
class InvalidConfiguration(CookiecutterException): ... | ||
class UnknownRepoType(CookiecutterException): ... | ||
class VCSNotInstalled(CookiecutterException): ... | ||
class ContextDecodingException(CookiecutterException): ... | ||
class OutputDirExistsException(CookiecutterException): ... | ||
class InvalidModeException(CookiecutterException): ... | ||
class FailedHookException(CookiecutterException): ... | ||
|
||
class UndefinedVariableInTemplate(CookiecutterException): | ||
message: Incomplete | ||
error: Incomplete | ||
context: Incomplete | ||
def __init__(self, message, error, context) -> None: ... | ||
|
||
class UnknownExtension(CookiecutterException): ... | ||
class RepositoryNotFound(CookiecutterException): ... | ||
class RepositoryCloneFailed(CookiecutterException): ... | ||
class InvalidZipRepository(CookiecutterException): ... |
Oops, something went wrong.