Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EditorConfig specification for the project and minor tooling improvements #1778

Merged
merged 4 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Top-most EditorConfig file.
root = true

# Universal settings.
[*]
indent_style = space
indent_size = 4
tab_width = 8
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tab_width = 8
tab_width = 4

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[Makefile]
indent_style = tab
indent_size = tab

[*.{json,yml}]
indent_size = 2
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ integration:
coverage:
hatch run coverage && open htmlcov/index.html

.PHONY: all clean dev lint fmt test integration coverage
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fmt = ["black . --extend-exclude 'tests/unit/source_code/samples/*'",
"mypy --disable-error-code 'annotation-unchecked' --exclude 'tests/unit/source_code/samples/*' .",
"pylint --output-format=colorized -j 0 src tests"]
verify = ["black --check . --extend-exclude 'tests/unit/source_code/samples/*'",
"ruff .",
"ruff check .",
"mypy --exclude 'tests/unit/source_code/samples/*' .",
"pylint --output-format=colorized -j 0 src tests"]
lint = ["pylint --output-format=colorized -j 0 src tests"]
Expand Down
Loading