Git Product home page Git Product logo

Comments (4)

DanielKotik avatar DanielKotik commented on September 23, 2024 1

OK, then we shall add a .flake8 configuration file with

[flake8]
max-line-length = 88
extend-ignore = E203

as suggested by black's documentation and use flake8 in our IDE (I do so already) and within the CI. This would point us to where we need to manually do some adjustments for docstrings.

from atomec.

DanielKotik avatar DanielKotik commented on September 23, 2024 1

Note:

Black can split long strings to fit the line length using --experimental-string-processing. However, this applies not (yet) to docstrings.

from atomec.

timcallow avatar timcallow commented on September 23, 2024

Yes, this was bothering me. I've been looking to see if there is an option to enforce this but so far I didn't find anything. If you have an alternative suggestion to black, I'm happy to consider it.

In any case I don't mind the line length, if we stick with black I'd lean slightly towards 88 but otherwise I don't have a preference.

from atomec.

timcallow avatar timcallow commented on September 23, 2024

Closing due to PR #30

from atomec.

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.