From 26385288163d5c4db1072456555d6bf0083bc9a8 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Fri, 13 Jan 2023 23:21:58 -0500 Subject: [PATCH] add formatting exclusions properly in toml (#702) --- pyproject.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 36e518c9..e08e4e2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,6 +110,11 @@ parentdir_prefix = "spaghetti-" [tool.isort] profile = "black" src_paths = ["spaghetti"] +skip = [ + "docs/conf.py", + "versioneer.py", + "spaghetti/_version.py" +] [tool.flake8] max_line_length = 88 @@ -124,3 +129,10 @@ exclude = [ [tool.black] line-length = 88 +extend-exclude = ''' +( + docs/conf.py + "versioneer.py", + "spaghetti/_version.py" +) +'''