Code Monkey home page Code Monkey logo

Comments (6)

thedrow avatar thedrow commented on July 21, 2024

+1

from prospector.

jayclassless avatar jayclassless commented on July 21, 2024

Looks like it'd be a good addition. I started integrating it here. The problem I'm running into, though, is that it's incredibly sensitive when it's trying to parse __all__. It fails on most all of my code, where I format it as:

__all__ = (
    'something',
    'something_else',
)

Until/Unless it gets better at parsing __all__, I'm hesitant to recommend merging this in.

from prospector.

carlio avatar carlio commented on July 21, 2024

@jayclassless I've recently been adding support for 'optional tools' (this commit and this commit). So far I have added vulture and pyroma, both of which are not useful 100% of the time.

It depends how broken pep257 is, but if it's not reliable, it could perhaps still be added as an optional tool?

from prospector.

techdragon avatar techdragon commented on July 21, 2024

From the look of it, it could be related to this bug ticket they have open here. PyCQA/pydocstyle#78

@jayclassless Are you testing against the pypi package, or the code in github? If its the package, it sounds like it may be worth trying the code from the master branch in Github.

from prospector.

jayclassless avatar jayclassless commented on July 21, 2024

@techdragon I was using the latest release they've got on pypi. When I get a chance I'll try it against their master to see if it's something they've fixed. If it is, then maybe we can urge them to package up a release. If not, maybe I/we can take a shot at getting them a PR to fix it.

@carlio Yea, I saw that. I was wondering when the day would come when not every tool we added would automatically be dumped into the "default" list. :) I think in this case it'd depend on how much you want to stretch the meaning of "optional". Right now it basically means "working tools that don't apply to every type of Python project". IMO, to add pep257 at this point would stretch it to include the word "experimental".

from prospector.

carlio avatar carlio commented on July 21, 2024

I don't see it as a problem as long as the documentation clearly states that it is experimental or 'possibly broken'. Perhaps a new command line argument would be needed to print a short description of each tool and status.

from prospector.

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.