Giter Site home page Giter Site logo

Albedo clean up about nsrdb HOT 7 CLOSED

nrel avatar nrel commented on August 18, 2024
Albedo clean up

from nsrdb.

Comments (7)

mikebannis avatar mikebannis commented on August 18, 2024

AFAICT the linter is running successfully:

2021-03-30 21:34:10 [NOTICE] All file(s) linted successfully with no errors detected

Where are you seeing the failure?

from nsrdb.

MRossol avatar MRossol commented on August 18, 2024

Whoops, forgot the linter only looks at "changed" files, here is the old one:
https://github.com/NREL/nsrdb/runs/2230183820?check_suite_focus=true

from nsrdb.

mikebannis avatar mikebannis commented on August 18, 2024

I see them now. Man, both eagle vim and pylint seem to really dislike f-strings. Looks like there are some arguments against using f-strings with logging, see pylint-dev/pylint#2395. Performance seems about nill for us, especially considering how IO bound the nsrdb code is. What's your take?

from nsrdb.

grantbuster avatar grantbuster commented on August 18, 2024

I honestly dont feel strongly about fstrings. I would be fine having them in our code bases. I think we're already not following best practices for logging strings as Dan had pointed out to us previously.

from nsrdb.

MRossol avatar MRossol commented on August 18, 2024

Fine by me, I'll add that to the pylint file to exclude.

from nsrdb.

MRossol avatar MRossol commented on August 18, 2024

okay push this to the branch, Mike I can't remember if there are any other pylint errors in albedo, but feel free to close this once you can get pylint to pass

from nsrdb.

mikebannis avatar mikebannis commented on August 18, 2024

Passing

from nsrdb.

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.