[MESSAGES CONTROL]

# all style checks are made by "black --check" as black is used as
# formatter to avoid any disagreement between the two.
# (which does happen quite a bit)

disable=
  missing-docstring,  # is okay, really. [TODO explain why]
  unused-argument,  # is okay [TODO explain why]
  no-value-for-parameter,  # results in false positives because of our dependency injection [TODO: maybe switch dependency injection as otherwise this is really useful]
  no-member, # checked mypy
  no-else-return, # see https://github.com/SoCo/SoCo/issues/500#issuecomment-479434951
  bad-whitespace,  # style check
  bad-continuation,  # style check
  fixme,  # should not break a build
  protected-access,  # Quite a few use cases for this, including in MongoDB ORMs: ._id


good-names=i,j,x,y,z,t,td,db,f,fn,fs,ws,cfg
# Usage:
# i,j - iterators
# x,y,z - coordinates
# t - time
# td - time diff / duration
# db - database
# f - file
# fn - function
# fs - filesystem
# ws - websocket
# cfg - configuration


[DESIGN]

# increased from default 15
max-locals=20

# limiting the number of returns might discourage
# the use of guard clauses. So we increase the
# allowed number of returns from 6 to 8
max-returns=8
