diff --git a/mypy.ini b/mypy.ini index cb55399..168c1a3 100644 --- a/mypy.ini +++ b/mypy.ini @@ -17,8 +17,3 @@ disable_error_code = # Will be replaced by pathlib in 3.10 [mypy-pathlib2.*] ignore_missing_imports = True - -# jaraco/jaraco.develop#20 -# Lucretiel/autocommand#38 -[mypy-autocommand.*] -ignore_missing_imports = True diff --git a/newsfragments/30.feature.rst b/newsfragments/30.feature.rst new file mode 100644 index 0000000..3ad2d60 --- /dev/null +++ b/newsfragments/30.feature.rst @@ -0,0 +1 @@ +Moved commands only requirements to a ``commands`` extra -- by :user:`Avasam` diff --git a/pyproject.toml b/pyproject.toml index b4e0a95..1f3e5f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,6 @@ license = "MIT" dependencies = [ "jaraco.context >= 4.1", "jaraco.functools", - "more_itertools", - "typer-slim", ] dynamic = ["version"] @@ -55,7 +53,6 @@ doc = [ # local ] -inflect = ["inflect"] check = [ "pytest-checkdocs >= 2.4", @@ -78,7 +75,16 @@ type = [ "mypy < 1.19; python_implementation == 'PyPy'", # local + "jaraco.text[commands]" +] + +commands = [ + "inflect", + "more_itertools", + "typer", ] +# Kept for backwards compatibility +inflect = ["jaraco.text[commands]"] [tool.setuptools_scm]