britonad / pylint-errors Goto Github PK
View Code? Open in Web Editor NEWA curated list of pylint errors with explanation and examples
Home Page: https://sprytnyk.github.io/pylint-errors/
License: MIT License
A curated list of pylint errors with explanation and examples
Home Page: https://sprytnyk.github.io/pylint-errors/
License: MIT License
Hi,
We have been hard at work integrating the content of this wonderful project into the main pylint
project. Progress can be viewed here:
pylint-dev/pylint#5953
I was wondering, would you be willing to add pylint
as a sub-module to this project? If we were to do so we would be able to get some of the data from the pylint
documentation data instead of getting it from this project. That would remove some of the duplication that will eventually be created between both projects. It will also direct any efforts towards improving examples or documentation to one place instead of across both projects.
The data structure of our new data is explained in the mentioned issue and should be fairly trivial to integrate into the project after pylint
has been added as sub-module.
I'd be happy to create a PR to do this!
This will result in all closures using the same value for the closed-over variable.
def foo(numbers):
for i in numbers:
def bar():
print(i)
bar()
Using the above code followed by foo([1, 2, 3])
prints
1
2
3
which I believe is expected. It seems all closures are NOT using the same value for the closed-over variable in this example.
I used the example in bad.py for bad-mcs-method-errors in pylint to improve the documentation and it did not throw an error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.