Skip to content

Instantly share code, notes, and snippets.

@tadashi-aikawa
Last active October 23, 2019 16:08
Show Gist options
  • Save tadashi-aikawa/697f228f7b0c1d333e15d887deff8a96 to your computer and use it in GitHub Desktop.
Save tadashi-aikawa/697f228f7b0c1d333e15d887deff8a96 to your computer and use it in GitHub Desktop.
Formatter files
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
[*.py]
indent_size = 4
[*.yml]
indent_size = 2
[*.yaml]
indent_size = 2
[*.md]
trim_trailing_whitespace = false
# https://typescript-jp.gitbook.io/deep-dive/styleguide
printWidth: 120
tabWidth: 2
useTabs: false
semi: true
singleQuote: true
quoteProps: as-needed
trailingComma: all
bracketSpacing: true
arrowParens: avoid
[tool.black]
line-length = 100
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment