[flake8]
ignore =
  # No space before colon
  E203
  W503
  # Variable name should be lower case. We have some single-letter variables that make more sense to be caps.
  N806
  # Class attribute shadows a python builtin -- not much chance of that causing a problem
  A003
  # First line should be in imperative mood -- cached_properties don't fit this bill.
  D401
  # Missing docstring in public class -- my docstrings are in the __init__ which seems to fail this ?
  D101
  # Otherwise it flags down **kwargs in docstrings.
  RST210
  N815
  # Allow method names to start and end with __
  N807
max-line-length = 88
max-complexity = 21
inline-quotes = double
docstring-convention=numpy
rst-roles =
  class
  meth
  func
  attr
  mod
exclude =
    devel/*
per-file-ignores =
    src/edges_cal/spectra.py:N802
    src/edges_cal/cal_coefficients.py:N802
    tests/*:D
    src/edges_cal/__init__.py:F401
    src/edges_cal/reflection_coefficient.py:A002
