Git Product home page Git Product logo

Comments (5)

joeyespo avatar joeyespo commented on August 11, 2024

Makes sense to me.

Are you interested in implementing?

For reference, here's how pytest searches for the config file. I think we could even import pytest and use its API to find the config file so we're not duplicating any code.

Thanks for the suggestion!

from pytest-watch.

aldanor avatar aldanor commented on August 11, 2024

Hmm, instead of using a different config file we could just store it as a section in one of tox.ini, pytest.ini and just use pytest machinery to pick it up. Many packages already do that (e.g. flake8, pep8, coverage support all of those standard files).

I'm interested in implementing but realistically I won't have any time for that till a few weeks from now :/ So if someone steps in and hacks it together that would be very cool.

from pytest-watch.

joeyespo avatar joeyespo commented on August 11, 2024

instead of using a different config file we could just store it as a section in one of tox.ini, pytest.ini and just use pytest machinery to pick it up

Oh yes, that's what I was suggesting. (Guess I wasn't too clear about re-using pytest.ini though.)

I'm interested in implementing but realistically I won't have any time for that till a few weeks from now :/

It's all good! I'll mark this as "help wanted" for now. Thanks!

from pytest-watch.

joeyespo avatar joeyespo commented on August 11, 2024

Just published v3.8.0 which contains this feature.

The implementation doesn't contain addopts though because you can add config directly to the [pytest] section instead. Let me know if this help, @aldanor.

Thanks, @aldanor and @bendtherules!

from pytest-watch.

aldanor avatar aldanor commented on August 11, 2024

👍

from pytest-watch.

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.