diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f0821d3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# http://editorconfig.org +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[{,.}{j,J}ustfile] +indent_size = 4 + +[*.{py,rst,ini,md}] +indent_size = 4 + +[*.py] +line_length = 120 +multi_line_output = 3 + +[*.{css,html,js,json,jsx,sass,scss,svelte,ts,tsx,yml,yaml}] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[{Makefile,*.bat}] +indent_style = tab diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f0893fe --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,23 @@ +version: 2 +updates: + - package-ecosystem: cargo + directory: "/" + schedule: + interval: weekly + labels: + - 🤖 dependabot + groups: + cargo: + patterns: + - "*" + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + timezone: America/Chicago + labels: + - 🤖 dependabot + groups: + gha: + patterns: + - "*" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..799253a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-toml + - id: check-yaml