Giter VIP home page Giter VIP logo

Comments (3)

crertel avatar crertel commented on September 17, 2024 1

So, working through this so far, a huuuuuge chunk were complaints about pipelines not starting with raw values. I disabled that, as that's one of the more esoteric and annoying credo complaints. Consider an example case like:

vector_add(a, b)
|> vector_cross(c)
|> vector_print()

Credo by default would prefer:

a
|> vector_add(b)
|> vector_cross(c)
|> vector_print()

So, that's off now.

There are a number of nesting complaints that were disabled in-situ, mostly because the refactor I think would've been harder (due to missing docs) and more error-prone (due to missing tests). We probably want to revisit those later.

The thing I'm grinding through now is a bunch of cyclomatic complexity warnings. Some of these I think I can fix by breaking things out into their own functions, but I might have to just tell Credo to ignore them in places where that's not easy to do.

Overall, I think we'll end up with some pragma'd complaints disabled for credo but we can at least stop new problems from coming in--and then we can fix those other issues as we have time.

from scenic.

crertel avatar crertel commented on September 17, 2024

Woohoo, fix open. See #73

from scenic.

crertel avatar crertel commented on September 17, 2024

Resolved by #73, closing.

from scenic.

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.