Git Product home page Git Product logo

Comments (7)

danielfm avatar danielfm commented on August 16, 2024

Thanks for the report. Would you be willing to submit a pull request to fix the issue?

from pybreaker.

houbie avatar houbie commented on August 16, 2024

I'll give it a try...

from pybreaker.

houbie avatar houbie commented on August 16, 2024

pre-commit is giving errors :(

I could modernise the python setup like this, guaranteeing reproducible builds. This would also relieve potential contributors from having to manually install tools like pre-commit, black, etc., and they can't forget to run pre-commit install anymore.

Would consider such a pull request?

from pybreaker.

danielfm avatar danielfm commented on August 16, 2024

Sure, that would be awesome!

from pybreaker.

houbie avatar houbie commented on August 16, 2024

I created a draft PR that sets up tooling and fixes the type hints, but I suggest to take it further:

  • add ruff for static code analysis (and use it as replacement for black and isort)
  • use pytest to simplify test code and type check the test code so that typechecks.py can be removed again
  • use pyproject.toml for project meta instead of setup.py

These changes would require python >=3.8, meaning that 3.7 can't be tested anymore (although the lib can still be used with 3.7)
Let me know what you think of it

from pybreaker.

danielfm avatar danielfm commented on August 16, 2024

I'm okay with dropping support for py3.7.

from pybreaker.

houbie avatar houbie commented on August 16, 2024

finished the PR:

from pybreaker.

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.