diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..cd7c2f5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{py,rst,ini}] +indent_style = space +indent_size = 4 + +[*.{html,css,scss,json,yml,xml}] +indent_style = space +indent_size = 2 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..84b4b44 --- /dev/null +++ b/.flake8 @@ -0,0 +1,3 @@ +[flake8] +exclude = docs +max-line-length = 119 diff --git a/.pyup.yml b/.pyup.yml new file mode 100644 index 0000000..4a95d11 --- /dev/null +++ b/.pyup.yml @@ -0,0 +1,17 @@ +# configure updates globally +# default: all +# allowed: all, insecure, False +update: all + +# configure dependency pinning globally +# default: True +# allowed: True, False +pin: True + +# add a label to pull requests, default is not set +# requires private repo permissions, even on public repos +# default: empty +label_prs: update + +requirements: + - "requirements.txt" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d607f9c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +# ==== black ==== +[tool.black] +line-length = 119 +target-version = ['py311'] + + +# ==== isort ==== +[tool.isort] +profile = "black" +line_length = 119 +known_first_party = [ + "tests", + "scripts", + "hooks", +]