Code Monkey home page Code Monkey logo

Comments (7)

Jufik avatar Jufik commented on July 24, 2024 11

Faced the same issue and investigated my pyproject.toml

anytime you have

variable=[
    ....
]

I change to (note the 4 spaces)

variable=[
    ....
    ]

PTW works like a charm

from pytest-watch.

olzhasar avatar olzhasar commented on July 24, 2024 5

For anyone who is looking for a working and maintained alternative to pytest-watch:
https://github.com/olzhasar/pytest-watcher

from pytest-watch.

abdul-hamid-achik avatar abdul-hamid-achik commented on July 24, 2024 1

btw moving pytest configuration form pyproject.toml to pytest.ini did the trick but I would prefer to not have extra config files

from pytest-watch.

Kreeg avatar Kreeg commented on July 24, 2024

any updates?

from pytest-watch.

satheler avatar satheler commented on July 24, 2024

Same problem here.

from pytest-watch.

abdul-hamid-achik avatar abdul-hamid-achik commented on July 24, 2024

folks how can one simple mortal format a file in a way where this does not happen but you keep your pytest config on your pyproject.toml?

from pytest-watch.

ketozhang avatar ketozhang commented on July 24, 2024

As we can see in the trace, this tool only implements parsing using the configparser — it assumes pytest config are only ini files. What I see the next steps are for pytest-watch to stop bootstrapping off of pytest.config and start handling their own parsing of pytest.ini, pyproject.toml, and any legacy config files.

@joeyespo Any interest of accepting contributions to this?

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.