diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..05c6c9875 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +[tool.black] +line-length = 120 +target-version = ['py37'] +include = '\.pyi?$' +extend-exclude = ''' +/( + \.toml + |\.yml + |\.txt + |\.sh + |\.git + |\.ini + | \.hg + | \.mypy_cache + | \.tox + | \.venv + | build + | dist +)/ +''' + +[tool.isort] +profile = "black" +reverse_relative = true +known_first_party = ["nwb_guide"]