From 86d11ca8b8bbd003f23c3ea3b5b7d6203a46756d Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Thu, 2 Sep 2021 15:32:12 +0200 Subject: [PATCH] pre-commit update and extras require sync --- .pre-commit-config.yaml | 4 ++-- setup.py | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index da97a3da..7b2392cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 21.7b0 + rev: 21.8b0 hooks: - id: black args: [--safe, --quiet] @@ -21,7 +21,7 @@ repos: hooks: - id: flake8 - repo: https://github.com/asottile/pyupgrade - rev: v2.24.0 + rev: v2.25.0 hooks: - id: pyupgrade args: [--py36-plus] diff --git a/setup.py b/setup.py index 6089180a..2a5b2eef 100644 --- a/setup.py +++ b/setup.py @@ -58,6 +58,11 @@ def parse(root, config): setuptools.setup( setup_requires=["setuptools"], version=scm_version(), - extras_require={"toml": []}, + extras_require={ + "toml": [ + "setuptools>=42", + "tomli>=1.0.0", + ], + }, cmdclass={"bdist_egg": bdist_egg}, )