Files with excluded extensions are not shown; configure exclude_exts in gitstats.conf.
| Extension | Files | Lines | Share | Lines/file | |
|---|---|---|---|---|---|
| py | 274 | 117,012 | 63.9% | 427 | |
| rst | 368 | 61,190 | 33.4% | 166 | |
| svg | 12 | 940 | 0.5% | 78 | |
| toml | 2 | 819 | 0.4% | 409 | |
| yml | 14 | 790 | 0.4% | 56 | |
| lock | 1 | 758 | 0.4% | 758 | |
| ini | 7 | 267 | 0.1% | 38 | |
| yaml | 3 | 207 | 0.1% | 69 | |
| md | 6 | 166 | 0.1% | 27 | |
| xsd | 1 | 147 | 0.1% | 147 | |
| txt | 5 | 35 | 0.0% | 7 | |
| css | 1 | 21 | 0.0% | 21 | |
| json | 2 | 12 | 0.0% | 6 | |
| feature | 1 | 9 | 0.0% | 9 | |
| html | 1 | 7 | 0.0% | 7 | |
| in | 1 | 5 | 0.0% | 5 | |
| png | 8 | — | — | — | |
| pyi | 8 | — | — | — | |
| typed | 2 | — | — | — | |
| jpg | 1 | — | — | — |
Files in the current tree touched most often across all commits. High-churn files are hotspots that may benefit from extra review or refactoring.
| File | Times Changed | |
|---|---|---|
| AUTHORS | 549 | |
| tox.ini | 498 | |
| CHANGELOG.rst | 453 | |
| src/_pytest/config/__init__.py | 384 | |
| src/_pytest/python.py | 371 | |
| src/_pytest/fixtures.py | 363 | |
| .pre-commit-config.yaml | 337 | |
| testing/test_config.py | 329 | |
| testing/test_terminal.py | 294 | |
| testing/acceptance_test.py | 281 | |
| doc/en/reference/plugin_list.rst | 277 | |
| testing/test_assertrewrite.py | 266 | |
| testing/plugins_integration/requirements.txt | 265 | |
| src/_pytest/terminal.py | 256 | |
| src/_pytest/main.py | 247 | |
| src/_pytest/pytester.py | 239 | |
| testing/test_assertion.py | 229 | |
| testing/test_capture.py | 220 | |
| testing/test_collection.py | 205 | |
| testing/python/metafunc.py | 204 | |
| testing/test_mark.py | 201 | |
| src/_pytest/assertion/rewrite.py | 199 | |
| testing/test_junitxml.py | 199 | |
| doc/en/getting-started.rst | 188 | |
| src/_pytest/nodes.py | 186 |
Change frequency by file size →
How pytest compares with other Python open source projects →
How pytest ranks among Python open source projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true