pyproject.toml (23 lines of code) (raw):
[tool.isort]
line_length = 100
default_section = "THIRDPARTY"
known_first_party = "glean-dictionary"
# For compatibility with black:
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
[tool.pytest.ini_options]
testpaths = ['etl', 'etl_tests']
addopts = '--ruff --ruff-format'
[tool.ruff]
line-length=100
exclude=[".git","__pycache__","*venv","node_modules"]
[tool.ruff.lint]
# E121,E123,E126,E226,E24,E704,W503,W504: Ignored in default pycodestyle config:
# https://github.com/PyCQA/pycodestyle/blob/2.2.0/pycodestyle.py#L72
# Our additions...
# E129: visually indented line with same indent as next logical line
# E203: pep8 is wrong, overridden by black (https://github.com/psf/black/issues/315)
ignore = ["E203"] # "E129" is not supported by Ruff yet
select = ["E", "F"]