mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 05:22:56 +00:00
* Add yapf run to CircleCI * Pin yapf version * Enable `SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES` setting * Reformat all existing code with slight manual adjustments * test_runner/README: note that yapf is forced
30 lines
600 B
INI
30 lines
600 B
INI
# Just trying to gather linter settings in one file.
|
|
# I wonder if there's a way to de-duplicate them...
|
|
|
|
[flake8]
|
|
max-line-length = 100
|
|
|
|
[pycodestyle]
|
|
max-line-length = 100
|
|
|
|
[yapf]
|
|
based_on_style = pep8
|
|
column_limit = 100
|
|
split_all_top_level_comma_separated_values = true
|
|
|
|
[mypy]
|
|
# some tests don't typecheck when this flag is set
|
|
check_untyped_defs = false
|
|
|
|
disallow_incomplete_defs = false
|
|
disallow_untyped_calls = false
|
|
disallow_untyped_decorators = false
|
|
disallow_untyped_defs = false
|
|
strict = true
|
|
|
|
[mypy-psycopg2.*]
|
|
ignore_missing_imports = true
|
|
|
|
[mypy-pytest.*]
|
|
ignore_missing_imports = true
|