• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

psf / black / 7751977331
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: pre-commit-ci-update-config
DEFAULT BRANCH: master
Ran 02 Feb 2024 05:53AM UTC
Jobs 5
Files 40
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Feb 2024 05:50AM UTC coverage: 96.406% (+0.006%) from 96.4%
7751977331

push

github

web-flow
Ignore pyproject.toml missing tool.black section (#4204)

Fixes #2863

This is pretty desirable in a monorepo situation where you have
configuration in the root since it will mean you don't have to
reconfigure every project.

The good news for backward compatibility is that `find_project_root`
continues to stop at any git or hg root, so in all cases repo root
coincides with a pyproject.toml missing tool.black, we'll continue to
have the project root as before and end up using default config
(i.e. we're unlikely to randomly start using the user config).

The other thing we need to be a little careful about is that changing
find_project_root logic affects what `exclude` is relative to.  Since we
only change in cases where there is no config, this only applies where
users were using `exclude` via command line arg (and had pyproject.toml
missing tool.black in a dir that was not repo root).

Finally, for the few who could be affected, the fix is to put an empty
`[tool.black]` in pyproject.toml

3051 of 3269 branches covered (0.0%)

7215 of 7484 relevant lines covered (96.41%)

4.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 py3.11-ubuntu-latest - 7751977331.1 02 Feb 2024 05:59AM UTC 40
96.3
2 py3.12-ubuntu-latest - 7751977331.2 02 Feb 2024 05:59AM UTC 40
96.3
3 py3.9-ubuntu-latest - 7751977331.3 02 Feb 2024 05:59AM UTC 40
96.23
4 py3.8-ubuntu-latest - 7751977331.4 02 Feb 2024 05:59AM UTC 40
96.22
5 py3.10-ubuntu-latest - 7751977331.5 02 Feb 2024 05:59AM UTC 40
96.29
Source Files on build 7751977331
  • Tree
  • List 40
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2623269d on github
  • Prev Build on main (#7745203638)
  • Next Build on main (#7752024353)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc