GithubHelp home page GithubHelp logo

Style guide about rele HOT 5 CLOSED

andrewgy8 avatar andrewgy8 commented on August 16, 2024 3
Style guide

from rele.

Comments (5)

tobami avatar tobami commented on August 16, 2024 2

I asked Andrew what he meant and he didn't mean to use black for the autoformatting capabilities but as a substitute for flake8 for the reason that it has checks beyond what flake8 offers. In that case I'm OK with trying it out.

from rele.

daniel-ruiz avatar daniel-ruiz commented on August 16, 2024 1

Why? I never used black, so I may have missed something. Do you see any drawbacks of using it at this point?

from rele.

daniel-ruiz avatar daniel-ruiz commented on August 16, 2024

I have no problem with undertaking either action. To me, black is something I wanted to try out. I see this project could be a good experimentation field for this. After all, it is widely used in other Python open-source projects.

from rele.

tobami avatar tobami commented on August 16, 2024

I'd add isort, but not black yet. Not unless we have formatting problems.

from rele.

edgarlatorre avatar edgarlatorre commented on August 16, 2024

After quick read in the black documentation, IMHO I think it'd be kind of redundant. The differences from fake8 is that black would suggest changes to follow the defined style and for me it would work super well in a private project where you can have an agreement with the developer to use black integrated with you editor. For a open source project I wouldn't mind to have different styles if it does not have any pep8 offence. Also if we are not using auto format, it's kind of annoying to check the diffs with the suggestions.

from rele.

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.