summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-05-28 10:42:42 -0400
committerJulian Berman <Julian@GrayVines.com>2022-05-28 12:24:45 -0400
commitf61f3b7a73c14409178921bf4ce23050bf90560d (patch)
treef6681db659f242ccddfe11b0fb60f78599470f40 /.flake8
parentf2fb1df342a27fdbfb0c007f2a141115964b3b86 (diff)
downloadjsonschema-f61f3b7a73c14409178921bf4ce23050bf90560d.tar.gz
Modernize the packaging setup via PEP 621 and Hatch.
Doing so jettisons setuptools in favor of a more modern, well-designed, legacy-free, and now well-supported packaging tool, Hatch. No end-user facing behavior changes are expected for any users using a recent packaging setup (within the past 2-3 years), so please report any issues. Hatch: https://hatch.pypa.io/latest/ PEP 621: https://peps.python.org/pep-0621/
Diffstat (limited to '.flake8')
-rw-r--r--.flake810
1 files changed, 10 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..6a6b5cf
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,10 @@
+[flake8]
+ban-relative-imports = true
+inline-quotes = "
+exclude =
+ jsonschema/__init__.py
+ jsonschema/_reflect.py
+ignore =
+ B008, # Barring function calls in default args. Ha, no.
+ B306, # See https://github.com/PyCQA/flake8-bugbear/issues/131
+ W503, # (flake8 default) old PEP8 boolean operator line breaks