Skip to content

Commit 2fa0180

Browse files
committed
add editorconfig in pyproject.toml
1 parent 1c4acaa commit 2fa0180

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ exclude_dirs = ["tests", ".venv"]
3131
skips = ["B101"]
3232

3333
[tool.editorconfig]
34-
generate = true
34+
general = { charset = "utf-8", end_of_line = "lf", insert_final_newline = true, trim_trailing_whitespace = true }
35+
defaults = { indent_style = "tab", indent_size = 2, tab_width = 2 }
36+
python = { indent_style = "space", indent_size = 4, file_pattern = "*.py" }
37+
markdown = { indent_style = "space", indent_size = 2, file_pattern = "*.md" }
3538

3639
[tool.hatch.build.targets.wheel]
3740
packages = ["eventsourcingdb"]

0 commit comments

Comments
 (0)