1
0
Fork 0

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
Fabian P. Schmidt 2020-01-02 22:15:32 +01:00
parent 02eda83a84
commit e386eb658d
3 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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