Add comments for missing atttributes in ephem.Observer class slots (E0237)
Fixes assigning-non-slot (E0237) pylint error. Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>merge-requests/872/head
parent
02eda83a84
commit
e386eb658d
|
@ -7,7 +7,6 @@ ignored-argument-names=args|kwargs
|
|||
disable=
|
||||
E1101, # no-member
|
||||
E1121, # too-many-function-args
|
||||
E0237, # assigning-non-slot
|
||||
R0801, # needs to remain disabled see https://github.com/PyCQA/pylint/issues/214
|
||||
R0912, # too-many-branches
|
||||
R0913, # too-many-arguments
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
"""SatNOGS Network scheduling functions"""
|
||||
# ephem is missing lon, lat, elevation and horizon attributes in Observer class slots,
|
||||
# Disable assigning-non-slot pylint error:
|
||||
# pylint: disable=E0237
|
||||
from __future__ import absolute_import, division
|
||||
|
||||
import math
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
"""Django base views for SatNOGS Network"""
|
||||
# ephem is missing lon, lat, elevation and horizon attributes in Observer class slots,
|
||||
# Disable assigning-non-slot pylint error:
|
||||
# pylint: disable=E0237
|
||||
from __future__ import absolute_import
|
||||
|
||||
from collections import defaultdict
|
||||
|
|
Loading…
Reference in New Issue