Giter VIP home page Giter VIP logo

Comments (3)

breno-jesus-fernandes avatar breno-jesus-fernandes commented on August 23, 2024

poe mypy_src was created to run only in CI, do you think poe test_src should have a profile to run only mypy?

from pandas-stubs.

Dr-Irv avatar Dr-Irv commented on August 23, 2024

So my confusion is this. If I type poetry run poe, I get these options

  check_style           Local Code Style Check
  format_style          Apply Black and Isort Format
  test_src              LOCAL Test | Run tests against source code version: "poe test_src -p=<profile>"
    -p, --profile       "default" (mypy + pyright) or "pytest" (pytest only) or "full" (mypy + pyright + pytest)
    -c, --clean_cache   remove mypy and pytest cache folders
  test_dist             Local Test | Run tests against distribuition version: "poe test_dist"
    -c, --clean_cache   remove mypy and pytest cache folders
  test_all              Local Test | Run tests against source code and distribuition version: "poe test_all"
    -c, --clean_cache   remove mypy and pytest cache folders
  create_mypy_pkg_file  CI Test | Create mypy package file
  mypy_src              CI Test | Run mypy against source code
  pyright_src           CI Test | Run pyright against source code
  pytest_src            CI Test | Run pytest against source code
  build_dist            CI Test | Build distribuition
  install_dist          CI Test | Install distribuition
  rename_src            CI Test | Rename source code
  mypy_dist             CI Test | Run mypy against distribuition
  pyright_dist          CI Test | Run pyright against distribuition

That makes it seem I can just do poetry run poe mypy_src to test with mypy as opposed to using a profile.

So can we make it that the options shown are only the ones that really work in a dev environment?
And update the docs to indicate how to run just parts of the tests.

Thanks.

from pandas-stubs.

breno-jesus-fernandes avatar breno-jesus-fernandes commented on August 23, 2024

I see I thought it was clear in the description of each command, I'm gonna see if I can split CI and Dev commands.

from pandas-stubs.

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.