target-version = "py310"
line-length = 100
extend-exclude = ["temp"]



lint.select = [
  "E",   # pycodestyle errors
  "W",   # pycodestyle warnings
  "F",   # pyflakes
  "I",   # isort
  'UP',  # pyupgrade
  'A',   # flake8-builtins
  "C4",  # flake8-comprehensions
  'EXE', # flake8-executable
  'FA',  # flake8-future-annotations
  'PT',  # flake8-pytest-style
  'RSE', # flake8-raise
  'SIM', # flake8-simplify
  'DTZ', # flake8-datetimez, https://beta.ruff.rs/docs/rules/#flake8-datetimez-dtz
]

lint.ignore = [
  'A003',
  'E501',
  'E711',
  'E712',
  # 'E721', # type comparison
  'E741',
  'F401', # unused imports
  'F841',
  'PT004',
  'SIM102',
  'SIM105',
  'SIM108',
  'SIM115',
]

[format]
quote-style = "single"

[lint.isort]
known-first-party = ["ssh_lib"]
lines-after-imports = 2

[lint.flake8-comprehensions]
allow-dict-calls-with-keyword-arguments = true

