-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Rewrite callables as "tools", to allow building the
command
v…
…alue automatically With this change, we deprecate the previous "callables" in favor of these new tools. Issue-21: #21
- Loading branch information
Showing
25 changed files
with
4,906 additions
and
57 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
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
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,48 @@ | ||
"""Module containing callables for many tools.""" | ||
|
||
from __future__ import annotations | ||
|
||
from failprint.lazy import lazy | ||
|
||
from duty.tools._autoflake import autoflake | ||
from duty.tools._base import LazyStderr, LazyStdout, Tool | ||
from duty.tools._black import black | ||
from duty.tools._blacken_docs import blacken_docs | ||
from duty.tools._build import build | ||
from duty.tools._coverage import coverage | ||
from duty.tools._flake8 import flake8 | ||
from duty.tools._git_changelog import git_changelog | ||
from duty.tools._griffe import griffe | ||
from duty.tools._interrogate import interrogate | ||
from duty.tools._isort import isort | ||
from duty.tools._mkdocs import mkdocs | ||
from duty.tools._mypy import mypy | ||
from duty.tools._pytest import pytest | ||
from duty.tools._ruff import ruff | ||
from duty.tools._safety import safety | ||
from duty.tools._ssort import ssort | ||
from duty.tools._twine import twine | ||
|
||
__all__ = [ | ||
"Tool", | ||
"LazyStdout", | ||
"LazyStderr", | ||
"lazy", | ||
"autoflake", | ||
"black", | ||
"blacken_docs", | ||
"build", | ||
"coverage", | ||
"flake8", | ||
"git_changelog", | ||
"griffe", | ||
"interrogate", | ||
"isort", | ||
"mkdocs", | ||
"mypy", | ||
"pytest", | ||
"ruff", | ||
"safety", | ||
"ssort", | ||
"twine", | ||
] |
Oops, something went wrong.