Git Product home page Git Product logo

Comments (5)

artasparks avatar artasparks commented on July 19, 2024

Plan is to auto-run linting, formatting check, and tests on code submission. for linting, there'll be a blacklist while things are cleaned up.

from minigo.

artasparks avatar artasparks commented on July 19, 2024

I've still got more files to clean up, but this is automatic now.

from minigo.

amj avatar amj commented on July 19, 2024

Have we got some docs on how to do this/what our project-wide flags are for autopep8?

from minigo.

tommadams avatar tommadams commented on July 19, 2024

By default, autopep8 is fairly lax about whitespace and will for example allow function arguments that span multiple lines to be formatted in a bunch of different ways. This is different from something like clang-format, which enforces a one-true-way of formatting.

You can run autopep8 with two -a command line arguments to tell it to be much more aggressive about reformatting whitespace. Maybe we should consider using that?

from minigo.

brilee avatar brilee commented on July 19, 2024

I'm happy with the linter in our automated testing enforcing no style regressions and gradually adding things to be linted.

from minigo.

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.