Git Product home page Git Product logo

[Feature Request] new lint rule to require a comment #. (HashtagDot) (or #/, new line) at end each python block. And new lint rule for declaring variables to have #declare or #var comment. about pylint HOT 5 CLOSED

EdSaleh avatar EdSaleh commented on June 26, 2024
[Feature Request] new lint rule to require a comment #. (HashtagDot) (or #/, new line) at end each python block. And new lint rule for declaring variables to have #declare or #var comment.

from pylint.

Comments (5)

DanielNoord avatar DanielNoord commented on June 26, 2024 2

You did not contribute, it was written by somebody else, and the largest discussion in that PR was about how to correctly phrase why it was such a bad lint (rust-lang/rust-clippy#3494).

I also see you link to that issue in various other repositories (modularml/mojo#2929 and astral-sh/ruff#11698) where you have received similar negative responses. To keep all open source maintainers from going insane and spending too much time on your unnecessary issues and comments consider this your last warning before I ban you from this organisation and report you for spamming various repositories.

Read up on tools your opening issues against, see what they design philosophy is and act like the maintainers ask you to.

Good luck with writing your plugin! I hope to see it on PyPI one day 😄

from pylint.

Pierre-Sassoulas avatar Pierre-Sassoulas commented on June 26, 2024 1

Please don't reopen closed issues.

from pylint.

EdSaleh avatar EdSaleh commented on June 26, 2024

Please don't reopen closed issues.

@Pierre-Sassoulas
I added new info to the topic.
The purpose of this issue is to let python and other language developers know of this idea and to create a discussion around it, discussion to identify whether this feature could be useful or not and why, and the decision around it is for the project developers to choose.

I have also contributed to rust lint previously and my proposal was completed and merged.
rust-lang/rust-clippy#2685

As suggested, I will be looking into creating a plugin for this feature.

from pylint.

EdSaleh avatar EdSaleh commented on June 26, 2024

You did not contribute, it was written by somebody else, and the largest discussion in that PR was about how to correctly phrase why it was such a bad lint (rust-lang/rust-clippy#3494).

I also see you link to that issue in various other repositories (modularml/mojo#2929 and astral-sh/ruff#11698) where you have received similar negative responses. To keep all open source maintainers from going insane and spending too much time on your unnecessary issues and comments consider this your last warning before I ban you from this organisation and report you for spamming various repositories.

Read up on tools your opening issues against, see what they design philosophy is and act like the maintainers ask you to.

Good luck with writing your plugin! I hope to see it on PyPI one day 😄

I posted the proposal to different project since I see it could be useful for these projects as well, with similar indentation code block code style, and an average person knows the difference between spamming and discussing.

My rust lint proposal is the older and first one, and it's marked completed and merged as stated on the issue. I didn't code it though. Let's continue with pylint here. As I said, I am looking into implementing a plugin for this feature.

from pylint.

EdSaleh avatar EdSaleh commented on June 26, 2024

You did not contribute, it was written by somebody else, and the largest discussion in that PR was about how to correctly phrase why it was such a bad lint (rust-lang/rust-clippy#3494).

I also see you link to that issue in various other repositories (modularml/mojo#2929 and astral-sh/ruff#11698) where you have received similar negative responses. To keep all open source maintainers from going insane and spending too much time on your unnecessary issues and comments consider this your last warning before I ban you from this organisation and report you for spamming various repositories.

Read up on tools your opening issues against, see what they design philosophy is and act like the maintainers ask you to.

Good luck with writing your plugin! I hope to see it on PyPI one day 😄

Hello,
I'm not sure why would you deal funnily or sarcastically with this proposal (hashdot for indentation code block). This is not a good environment for proposals or new ideas. I am just proposing an idea that I think could be helpful for some people, particularly people coming for C style languages, while following python syntax and conventions and it's your decision at the end whether to accept it or not for this proposal.
I think python, particularly its syntax is an amazing language for nearly everything as it's the nearest to natural language and that's the reason for its wide spread use in many fields.
Finally, my proposal is complete now, and there aren't anything more to add to it or any discussion regarding it.
Thank you,

from pylint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.