Skip to content

Commit

Permalink
add dotfiles
Browse files Browse the repository at this point in the history
Signed-off-by: Kosaku Kimura <[email protected]>
  • Loading branch information
kimusaku committed Aug 23, 2023
1 parent 51263fb commit ae6b441
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
omit =
*/.env/*
*/.venv/*
*/.cache/*
*/tmp/*
*/mining/collector.py
*/utilities/dataset_utility.py

[report]
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*.py]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

[*.json,*.csv]
insert_final_newline = ignore
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: local
hooks:
- id: pysen
name: Run pysen
entry: pysen run_files lint
language: system
types: [file, python]

0 comments on commit ae6b441

Please sign in to comment.