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=
|
disable=
|
||||||
E1101, # no-member
|
E1101, # no-member
|
||||||
E1121, # too-many-function-args
|
E1121, # too-many-function-args
|
||||||
E0237, # assigning-non-slot
|
|
||||||
R0801, # needs to remain disabled see https://github.com/PyCQA/pylint/issues/214
|
R0801, # needs to remain disabled see https://github.com/PyCQA/pylint/issues/214
|
||||||
R0912, # too-many-branches
|
R0912, # too-many-branches
|
||||||
R0913, # too-many-arguments
|
R0913, # too-many-arguments
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
"""SatNOGS Network scheduling functions"""
|
"""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
|
from __future__ import absolute_import, division
|
||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
"""Django base views for SatNOGS Network"""
|
"""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 __future__ import absolute_import
|
||||||
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
Loading…
Reference in New Issue