-
Notifications
You must be signed in to change notification settings - Fork 12
Why are range and zip assigned to themselves #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also, these are all non top-level imports that pylint 2.x doesn't like. This wasn't changed by black and pylint 1.9.2 is fine with it. I assume this is to save on resources. Adafruit_CircuitPython_RSA/adafruit_rsa/key.py Lines 259 to 260 in 39330c6
Adafruit_CircuitPython_RSA/adafruit_rsa/key.py Lines 272 to 273 in 39330c6
Adafruit_CircuitPython_RSA/adafruit_rsa/key.py Lines 337 to 339 in 39330c6
Adafruit_CircuitPython_RSA/adafruit_rsa/key.py Lines 516 to 517 in 39330c6
|
Personally, I think that we should either move these to top-level imports or just add a disable in each method that has such an import |
@dherrada Let's try moving them to top-level imports. |
@dherrada this may have been for Python2 compatibility within the python-rsa library which this is based on. It's since been removed from their They can be removed, but will need to test prior to merging in to make sure it doesn't affect anything. Feel free to assign me to this. |
This has been updated in #10 and merged into |
Does anyone know why this is done? Pylint 2.x doesn't like it and although it appears like there were disables put in to ignore the issues caused by this, I wanted to check before adding another disable.
Adafruit_CircuitPython_RSA/adafruit_rsa/_compat.py
Lines 43 to 45 in 39330c6
Referencing main issue: adafruit/Adafruit_CircuitPython_Bundle#232
The text was updated successfully, but these errors were encountered: