Coder Social home page Coder Social logo

Barebones setup about openfe HOT 9 CLOSED

IAlibay avatar IAlibay commented on June 28, 2024
Barebones setup

from openfe.

Comments (9)

dwhswenson avatar dwhswenson commented on June 28, 2024 1

By default I think it's just running pycodestyle. pep8speaks has a custom YAML config for pycodestyle; default here. You can get similar information from pylint or flake8.

I use pylint locally (when I remember). I think pep8speaks only errors on official errors (codes that start with E). (EDIT: actually, I use pylint by way of Syntastic.)

from openfe.

IAlibay avatar IAlibay commented on June 28, 2024

pep8speaks is up - didn't customize for now (MDA just uses the base version and just has an annoying bot tell you off for PEP8 violations) - if you feel like customizing please see:
https://github.com/OrkoHunter/pep8speaks?installation_id=22593205&setup_action=install#configuration

from openfe.

dwhswenson avatar dwhswenson commented on June 28, 2024

What are we thinking for linters other than pep8speaks? Do we need anything else?

IMO, that's all we need in terms of something directly integrated into GitHub. Personally, I like to use CodeClimate to check complexity/repetition (goes beyond linting!), but I don't think it needs to be a hoop for contributors to jump through. I'll enable it on my fork to keep an eye on potential technical debt. I also like to run pylint occasionally, but I don't think we need to enforce style on all the pylint warnings.

from openfe.

mikemhenry avatar mikemhenry commented on June 28, 2024

Is there a way to run pep8speaks locally? If we are not using a linter that also takes care of formatting automatically, then it's nice to have something that I can run local before I push.

from openfe.

mikemhenry avatar mikemhenry commented on June 28, 2024

Okay cool, we should probably then include the config that pep8speaks uses so that we get the same errors and warning locally as we do with the bot.

from openfe.

mikemhenry avatar mikemhenry commented on June 28, 2024

We should also add a CONTRIBUTING file, is there something that OMSF is using for this?

from openfe.

dwhswenson avatar dwhswenson commented on June 28, 2024

Okay cool, we should probably then include the config that pep8speaks uses so that we get the same errors and warning locally as we do with the bot.

Sorry, my writing wasn't clear: pep8speaks has a YAML config for itself; the link was to the default values. pycodestyle uses a section in setup.cfg. But I think the pep8speaks default is basically what you get with no config for pycodestyle.

We should also add a CONTRIBUTING file, is there something that OMSF is using for this?

Checked a couple OpenFF repos; didn't see anything. No strong opinions from me on CONTRIBUTING files.

from openfe.

IAlibay avatar IAlibay commented on June 28, 2024

We should also add a CONTRIBUTING file, is there something that OMSF is using for this?

I would say maybe we need to kick this up the chain of command? I know Karmen mentioned that they were working on some CLAs for OMSF projects. @richardjgowers would know better here.

from openfe.

IAlibay avatar IAlibay commented on June 28, 2024

Moving CONTRIBUTING.md to it's own issue - as per slack, close for now.

from openfe.

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.