Ownership is measured by how many commits each author made to each file in the current tree. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated. The bus factor is the smallest number of people who are, between them, primary owner of more than half of the files.
Files only one author has ever changed. The more a file has changed, the more knowledge is at risk if that person leaves.
| File | Sole owner | Commits |
|---|---|---|
| src/_pytest/assertion/_typing.py | Pierre Sassoulas | 4 |
| src/_pytest/assertion/_compare_set.py | Pierre Sassoulas | 3 |
| uv.lock | Ronny Pfannschmidt | 3 |
| testing/test_assertrewrite_coverage.py | Ronny Pfannschmidt | 3 |
| testing/test_collect_imported_tests.py | Bruno Oliveira | 3 |
| doc/en/tidelift.rst | Bruno Oliveira | 3 |
| doc/en/announce/release-7.0.0rc1.rst | Freya Bruhin | 3 |
| changelog/14445.bugfix.rst | Ronny Pfannschmidt | 2 |
| scripts/diff-assert-rewrite.py | Ronny Pfannschmidt | 2 |
| changelog/14742.deprecation.rst | Ronny Pfannschmidt | 2 |
| File | Sole owner | Commits |
|---|---|---|
| src/_pytest/assertion/_typing.py | Pierre Sassoulas | 4 |
| src/_pytest/assertion/_compare_set.py | Pierre Sassoulas | 3 |
| uv.lock | Ronny Pfannschmidt | 3 |
| testing/test_assertrewrite_coverage.py | Ronny Pfannschmidt | 3 |
| testing/test_collect_imported_tests.py | Bruno Oliveira | 3 |
| doc/en/tidelift.rst | Bruno Oliveira | 3 |
| doc/en/announce/release-7.0.0rc1.rst | Freya Bruhin | 3 |
| changelog/14445.bugfix.rst | Ronny Pfannschmidt | 2 |
| scripts/diff-assert-rewrite.py | Ronny Pfannschmidt | 2 |
| changelog/14742.deprecation.rst | Ronny Pfannschmidt | 2 |
| changelog/7940.bugfix.rst | Ronny Pfannschmidt | 2 |
| src/_pytest/terminalprogress.py | Ran Benita | 2 |
| testing/example_scripts/collect/package_infinite_recursion/__init__.pyi | Ran Benita | 2 |
| testing/example_scripts/config/collect_pytest_prefix/__init__.pyi | Ran Benita | 2 |
| testing/example_scripts/conftest_usageerror/__init__.pyi | Ran Benita | 2 |
| testing/example_scripts/fixtures/custom_item/__init__.pyi | Ran Benita | 2 |
| testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/__init__.pyi | Ran Benita | 2 |
| testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/__init__.pyi | Ran Benita | 2 |
| testing/example_scripts/issue88_initial_file_multinodes/__init__.pyi | Ran Benita | 2 |
| testing/example_scripts/marks/marks_considered_keywords/__init__.pyi | Ran Benita | 2 |
| changelog/11783.bugfix.rst | 이강은 | 2 |
| changelog/14552.bugfix.rst | Frank Hoffmann | 2 |
| doc/en/announce/release-7.0.0.rst | Freya Bruhin | 2 |
| changelog/14791.improvement.rst | Pierre Sassoulas | 1 |
| changelog/14675.bugfix.rst | Pierre Sassoulas | 1 |
| changelog/14523.improvement.rst | Pierre Sassoulas | 1 |
| changelog/14751.improvement.rst | Pierre Sassoulas | 1 |
| src/_pytest/assertion/highlight.py | Pierre Sassoulas | 1 |
| changelog/7323.deprecation.rst | Luana Bueno | 1 |
| changelog/13431.improvement.rst | Paneendra Kumar | 1 |
| changelog/15190.contrib.rst | Lothnic | 1 |
| changelog/9236.packaging.rst | Ronny Pfannschmidt | 1 |
| changelog/15153.improvement.rst | Ronny Pfannschmidt | 1 |
| changelog/12223.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/12175.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/14463.improvement.rst | Ronny Pfannschmidt | 1 |
| changelog/4569.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/4569.doc.rst | Ronny Pfannschmidt | 1 |
| changelog/4569.improvement.rst | Ronny Pfannschmidt | 1 |
| changelog/15032.bugfix.rst | Ronny Pfannschmidt | 1 |
| .git_archival.txt | Ronny Pfannschmidt | 1 |
| changelog/11680.packaging.rst | Ronny Pfannschmidt | 1 |
| changelog/15006.improvement.rst | Ronny Pfannschmidt | 1 |
| changelog/15006.bugfix.2.rst | Ronny Pfannschmidt | 1 |
| changelog/15006.bugfix.1.rst | Ronny Pfannschmidt | 1 |
| changelog/15006.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/15005.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/993.breaking.rst | Ronny Pfannschmidt | 1 |
| changelog/14921.contrib.rst | Ronny Pfannschmidt | 1 |
| changelog/13292.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/10745.improvement.2.rst | Ronny Pfannschmidt | 1 |
| changelog/10745.improvement.1.rst | Ronny Pfannschmidt | 1 |
| changelog/14864.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/14884.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/14813.contrib.rst | Ronny Pfannschmidt | 1 |
| changelog/2781.feature.rst | Ronny Pfannschmidt | 1 |
| changelog/11502.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/14705.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/14716.breaking.rst | Ronny Pfannschmidt | 1 |
| changelog/13564.improvement.rst | Ronny Pfannschmidt | 1 |
| .github/actions/setup-tox/action.yml | Ronny Pfannschmidt | 1 |
| changelog/14635.bugfix.rst | Ronny Pfannschmidt | 1 |
| changelog/6881.feature.rst | Ronny Pfannschmidt | 1 |
| doc/en/announce/release-8.3.2.rst | Ronny Pfannschmidt | 1 |
| testing/example_scripts/pytest.ini | Ronny Pfannschmidt | 1 |
| testing/example_scripts/marks/marks_considered_keywords/conftest.py | Ronny Pfannschmidt | 1 |
| testing/example_scripts/perf_examples/collect_stats/.gitignore | Ronny Pfannschmidt | 1 |
| testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub1/__init__.py | Ronny Pfannschmidt | 1 |
| testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub2/__init__.py | Ronny Pfannschmidt | 1 |
| testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/__init__.py | Ronny Pfannschmidt | 1 |
| changelog/6750.bugfix.rst | Minh Dau | 1 |
| changelog/15145.bugfix.rst | Claude | 1 |
| changelog/9614.doc.rst | Dheeraj | 1 |
| changelog/14412.bugfix.rst | marcelomarkus | 1 |
| changelog/14912.bugfix.rst | Devansh Awatramani | 1 |
| changelog/15132.bugfix.rst | hfycium | 1 |
| changelog/9924.bugfix.rst | Poorva Barve | 1 |
| changelog/15043.bugfix.rst | Poorva Barve | 1 |
| changelog/15052.bugfix.rst | Ran Benita | 1 |
| changelog/14942.bugfix.rst | Ran Benita | 1 |
| changelog/14164.improvement.rst | Ran Benita | 1 |
| doc/en/announce/release-9.1.1.rst | Ran Benita | 1 |
| doc/en/announce/release-9.1.0.rst | Ran Benita | 1 |
| doc/en/announce/release-9.0.3.rst | Ran Benita | 1 |
| doc/en/announce/release-8.4.1.rst | Ran Benita | 1 |
| doc/en/announce/release-8.2.2.rst | Ran Benita | 1 |
| doc/en/announce/release-8.0.2.rst | Ran Benita | 1 |
| doc/en/announce/release-8.0.1.rst | Ran Benita | 1 |
| doc/en/announce/release-8.0.0.rst | Ran Benita | 1 |
| doc/en/announce/release-8.0.0rc2.rst | Ran Benita | 1 |
| doc/en/announce/release-7.4.4.rst | Ran Benita | 1 |
| doc/en/example/customdirectory/pytest.ini | Ran Benita | 1 |
| doc/en/example/customdirectory/tests/manifest.json | Ran Benita | 1 |
| testing/example_scripts/customdirectory/pytest.ini | Ran Benita | 1 |
| testing/example_scripts/customdirectory/tests/manifest.json | Ran Benita | 1 |
| doc/en/announce/release-7.3.2.rst | Ran Benita | 1 |
| doc/en/announce/release-7.1.1.rst | Ran Benita | 1 |
| src/_pytest/py.typed | Ran Benita | 1 |
| src/pytest/py.typed | Ran Benita | 1 |
| changelog/14758.misc.rst | Bruno Oliveira | 1 |
Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.
| Author | Files owned | Solely owned | Files touched |
|---|---|---|---|
| Ronny Pfannschmidt | 127 | 45 | 408 |
| Bruno Oliveira | 126 | 29 | 436 |
| Ran Benita | 117 | 30 | 286 |
| oleg.hoefling | 102 | 0 | 128 |
| Anthony Sottile | 43 | 1 | 228 |
| Pierre Sassoulas | 24 | 7 | 187 |
| holger krekel | 23 | 5 | 72 |
| Freya Bruhin | 19 | 5 | 178 |
| Sorin Sbarnea | 11 | 2 | 19 |
| Daniel Hahler | 7 | 0 | 132 |
| Zac Hatfield-Dodds | 7 | 6 | 107 |
| andrewdotn | 6 | 0 | 12 |
| Daniele Procida | 5 | 0 | 42 |
| Chris NeJame | 5 | 5 | 21 |
| Simon K | 4 | 1 | 48 |
| Thomas Grainger | 4 | 1 | 42 |
| Sviatoslav Sydorenko | 4 | 2 | 31 |
| pytest bot | 4 | 2 | 17 |
| Steffen Schroeder | 4 | 0 | 17 |
| Hugo van Kemenade | 3 | 1 | 107 |
| jakkdl | 3 | 0 | 49 |
| Ronald Eddy Jr | 3 | 0 | 35 |
| t2y | 3 | 3 | 15 |
| Raphael Pierzina | 3 | 0 | 14 |
| Josh Soref | 2 | 0 | 46 |
Files touched by the most people — shared code where changes are most likely to need coordination.
| File | Contributors | Primary owner | Owner share |
|---|---|---|---|
| AUTHORS | 481 | holger krekel | 5.5% |
| CHANGELOG.rst | 109 | Bruno Oliveira | 45.7% |
| testing/test_terminal.py | 74 | Bruno Oliveira | 14.0% |
| doc/en/reference/reference.rst | 73 | Ran Benita | 33.3% |
| src/_pytest/config/__init__.py | 68 | Ran Benita | 32.3% |
| testing/test_config.py | 68 | Bruno Oliveira | 17.4% |
| src/_pytest/terminal.py | 61 | Daniel Hahler | 21.6% |
| src/_pytest/python.py | 56 | Ran Benita | 38.0% |
| testing/test_assertion.py | 55 | Bruno Oliveira | 12.7% |
| testing/test_assertrewrite.py | 54 | Bruno Oliveira | 15.3% |
| testing/test_junitxml.py | 54 | Bruno Oliveira | 16.4% |
| src/_pytest/fixtures.py | 53 | Ran Benita | 47.3% |
| testing/acceptance_test.py | 51 | holger krekel | 23.3% |
| doc/en/example/simple.rst | 47 | Bruno Oliveira | 42.2% |
| doc/en/getting-started.rst | 45 | Bruno Oliveira | 36.2% |
| testing/code/test_excinfo.py | 45 | Ran Benita | 16.4% |
| CONTRIBUTING.rst | 45 | Bruno Oliveira | 21.8% |
| testing/test_collection.py | 44 | Ran Benita | 18.0% |
| testing/test_doctest.py | 43 | Bruno Oliveira | 16.1% |
| tox.ini | 42 | holger krekel | 27.7% |
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