From 4f2a24848e8a0479347e39ee5395142f4362e603 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Wed, 3 Jul 2019 11:05:16 +0200 Subject: [PATCH] Use default black "exclude" string --- .gitignore | 1 + pyproject.toml | 12 +++--------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index cdfa971..43931e7 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ tests.data # Virtual environment venv/ +.venv*/ diff --git a/pyproject.toml b/pyproject.toml index 0e32539..2e0e1e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,5 @@ [tool.black] line-length = 88 -exclude = ''' -/( - \.git - | \.pytest_cache - | build - | dist - | venv -)/ -''' [build-system] requires = ["flit"] @@ -63,3 +54,6 @@ test = [ "pytest~=4.0", "six", ] +lint = [ + "black", +]