Comments (3)
We'll keep an eye on it and see if other tools start adopting a tool-specific.toml file pattern.
from coveragepy.
If you are going to have a separate file for each tool, then explain why .coveragerc isn't good? What's wrong with the .ini format for coverage's settings?
You can put configuration in a .coveragerc.toml file, but you need to specify it on the command line or in the COVERAGE_RCFILE environment variable.
from coveragepy.
.coveragerc
is good and I'll keep using it. I just wasn't sure if it'll get deprecated at some point. Really, my motivation here is just bring attention to such a possibility.
I know that I can rename the file and pass it explicitly but that's not something I'd want to do since different tools are called in different contexts outside of what I set up, sometimes. For example, if I set up flake8 to run through tox+pre-commit, I'd still want the end-user' editors that use some native integrations to pick up the same config automatically, zero friction, which is only possible if the file is picked up by default.
Though, again, I'm not going to be too upset if I'll need to stick with an ini file..
from coveragepy.
Related Issues (20)
- coverage report might raise FileNotFoundError when test patches glob HOT 3
- Can we add a json schema to complete pyproject.toml's [tool.coverage]?
- Test suite gets stuck when running on Windows PyPy 7.3.15 HOT 11
- test suite gets really slow in pypy3.9-v7.3.15 on ubuntu 22.04.3 HOT 4
- notes on our experience upgrading coverage 5.4 -> 7.4 HOT 1
- Question: Can `no-cover` "cover" the rest of the function? HOT 2
- Question: How to get the coverage data for each incoming request on my web server. HOT 2
- "No data was collected" when passing --source containing new line separated list HOT 5
- Question: how to add a middleware located on a different folder in settings.py ? HOT 1
- How to exclude external packages from coverage report when using coverage.py API ? HOT 1
- Use PEP 669 Low Impact Monitoring to reduce overhead HOT 3
- How to automate a coverage report using .coveragerc file HOT 1
- How to only show functions that hasn't been covered? HOT 1
- Relative paths duplicates paths on Windows HOT 9
- Facing issue No source for code while combining multiple coverage files HOT 5
- Exclude_lines unable to exclude entire if block from coverage.py in 5.5 version. HOT 5
- Option to record and report classes and imports not used at runtime HOT 1
- Current approach to restarting data collection? HOT 1
- Want to get coverage for 3rd party dependencies' code used by my project. HOT 9
- Coverage html complains about parsing Aenum's _py2.py HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coveragepy.