clone of my dotfiles.ssp.sh
1# from: https://raw.githubusercontent.com/airbytehq/airbyte/master/pyproject.toml
2[tool.black]
3line-length = 140
4target-version = ["py37"]
5
6[tool.coverage.report]
7fail_under = 0
8skip_empty = true
9sort = "-cover"
10omit = [
11 ".venv/*",
12 "main.py",
13 "setup.py",
14 "unit_tests/*",
15 "integration_tests/*",
16
17]
18
19[tool.flake8]
20extend-exclude = [
21 "*/lib/*/site-packages",
22 ".venv",
23 "build",
24 "models",
25 ".eggs",
26 "airbyte-cdk/python/airbyte_cdk/models/__init__.py",
27 ".tox",
28 "airbyte_api_client",
29
30]
31max-complexity = 20
32max-line-length = 140
33
34extend-ignore = [
35 "E203", # whitespace before ':' (conflicts with Black)
36 "E231", # Bad trailing comma (conflicts with Black)
37 "E501", # line too long (conflicts with Black)
38 "W503", # line break before binary operator (conflicts with Black)
39]
40
41[tool.isort]
42profile = "black"
43color_output = false
44skip_gitignore = true
45line_length = 140
46multi_line_output = 3
47include_trailing_comma = true
48force_grid_wrap = 0
49use_parentheses = true
50
51
52[tool.mypy]
53platform = "linux"
54exclude = "(build|integration_tests|unit_tests)"
55
56# Optionals
57ignore_missing_imports = true
58
59# Strictness
60allow_untyped_globals = false
61allow_redefinition = false
62implicit_reexport = false
63strict_equality = true
64
65# Warnings
66warn_unused_ignores = true
67warn_no_return = true
68warn_return_any = true
69warn_redundant_casts = true
70warn_unreachable = true
71
72# Error output
73show_column_numbers = true
74show_error_context = true
75show_error_codes = true
76show_traceback = true
77pretty = true
78color_output = true
79error_summary = true
80
81[tool.pytest.ini_options]
82minversion = "6.0"
83addopts ="-r a --capture=no -vv --log-level=DEBUG --color=yes"