Giter Club home page Giter Club logo

Comments (2)

rht avatar rht commented on July 28, 2024

That's a good idea. I remembered searching about this in the past, but couldn't find my past note. Anyway, searching fresh again resulted in https://github.com/jsh9/pydoclint (much faster than darglint).

pydoclint currently has 7 categories of style violation codes:

DOC0xx: Docstring parsing issues
DOC1xx: Violations about input arguments
DOC2xx: Violations about return argument(s)
DOC3xx: Violations about class docstring and class constructor
DOC4xx: Violations about “yield” statements
DOC5xx: Violations about “raise” statements
DOC6xx: Violations about class attributes

from mesa-frames.

adamamer20 avatar adamamer20 commented on July 28, 2024

Yes that's exactly what I wanted. Very good, they also have a pre-commit hook:

  rev: <latest_tag>
  hooks:
    - id: pydoclint
      args: [--style=google, --check-return-types=False]

from mesa-frames.

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.