[no-commit-to-branch]
branch = main

[check-yaml]
unsafe = True

[yamllint]
ignore: |
  tests/yaml_samples/simple_position_csv_pre.kibot.yaml

[pyupgrade]
py36-plus = True

[black]
safe = True
quiet = True
line-length = 127

[autoflake8]
in-place = True
recursive = True
expand-star-imports = True

[codespell]
ignore-words-list=kibot,tht
quiet-level = 2

[flake8]
ignore = E402, E226, E126, W504
   # docstrings - Missing
   D1
   # docstrings - whitespace
   D2
   # docstrings - text style (imperative, dot)
   D4
max-line-length = 127
max-complexity = 24
exclude = experiments/kicad/v6/
          experiments/JLC/
          kibot/mcpyrate/
          kibot/PcbDraw/
          kibot/PyPDF2/
          kibot/resources
          submodules/
          pp/
          output/

[mypy]
exclude = experiments build
ignore_missing_imports = True
# install_types = True
# non_interactive = True
check_untyped_defs = True
show_error_codes = True
show_error_context = True
# additional_dependencies = module==version
