Skip to content

Commit 8d9632c

Browse files
authored
Merge branch 'master' into tomli-bytes
2 parents ad09cbc + 84baf6e commit 8d9632c

File tree

379 files changed

+47520
-24202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

379 files changed

+47520
-24202
lines changed

.editorconfig

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,27 @@ trim_trailing_whitespace = true
1818
[*.py]
1919
max_line_length = 100
2020

21+
[*.pyi]
22+
max_line_length = 100
23+
2124
[*.c]
2225
max_line_length = 100
2326

2427
[*.h]
2528
max_line_length = 100
2629

27-
[*.yml]
30+
[*.{yml,yaml}]
2831
indent_size = 2
2932

3033
[*.rst]
3134
max_line_length = 79
3235

36+
[*.tok]
37+
trim_trailing_whitespace = false
38+
39+
[*_dos.tok]
40+
end_of_line = crlf
41+
3342
[Makefile]
3443
indent_style = tab
3544
indent_size = 8

.git-blame-ignore-revs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Commits to ignore when doing git-blame.
2+
3+
# 2023-01-05 style: use good style for annotated defaults parameters
4+
78444f4c06df6a634fa67dd99ee7c07b6b633d9e
5+
6+
# 2023-01-06 style(perf): blacken lab/benchmark.py
7+
bf6c12f5da54db7c5c0cc47cbf22c70f686e8236
8+
9+
# 2023-03-22 style: use double-quotes
10+
16abd82b6e87753184e8308c4b2606ff3979f8d3
11+
b7be64538aa480fce641349d3053e9a84862d571
12+
13+
# 2023-04-01 style: use double-quotes in JavaScript
14+
b03ab92bae24c54f1d5a98baa3af6b9a18de4d36
15+
16+
# 2023-11-04 style: ruff format igor.py, setup.py, __main__.py
17+
acb80450d7c033a6ea6e06eb2e74d3590c268435
18+
19+
# 2023-11-20 style: fr"" is better than rf"", for real
20+
d8daa08b347fe6b7099c437b09d926eb999d0803
21+
22+
# 2023-12-02 style: check_coverage close parens should be on their own line
23+
5d0b5d4464b84adb6389c8894c207a323edb2b2b
24+
25+
# 2024-02-27 style: fix COM812 Trailing comma missing
26+
e4e238a9ed8f2ad2b9060247591b4c057c2953bf
27+
28+
# 2024-02-27 style: modernize type hints, a few more f-strings
29+
401a63bf08bdfd780b662f64d2dfe3603f2584dd

.github/CODE_OF_CONDUCT.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Treat each other well
2+
3+
Everyone participating in the coverage.py project, and in particular in the
4+
issue tracker, pull requests, and social media activity, is expected to treat
5+
other people with respect and to follow the guidelines articulated in the
6+
[Python Community Code of Conduct][psf_coc].
7+
8+
[psf_coc]: https://www.python.org/psf/codeofconduct/

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ assignees: ''
1111
A clear and concise description of the bug.
1212

1313
**To Reproduce**
14-
How can we reproduce the problem? Please *be specific*. Don't just link to a failing CI job. Answer the questions below:
14+
How can we reproduce the problem? Please *be specific*. Don't link to a failing CI job. Answer the questions below:
1515
1. What version of Python are you using?
16-
1. What version of coverage.py are you using? The output of `coverage debug sys` is helpful.
16+
1. What version of coverage.py shows the problem? The output of `coverage debug sys` is helpful.
1717
1. What versions of what packages do you have installed? The output of `pip freeze` is helpful.
18-
1. What code are you running? Give us a specific commit of a specific repo that we can check out.
19-
1. What commands did you run?
18+
1. What code shows the problem? Give us a specific commit of a specific repo that we can check out. If you've already worked around the problem, please provide a commit before that fix.
19+
1. What commands should we run to reproduce the problem? *Be specific*. Include everything, even `git clone`, `pip install`, and so on. Explain like we're five!
2020

2121
**Expected behavior**
2222
A clear and concise description of what you expected to happen.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ contact_links:
88
- name: Frequently Asked Questions
99
url: https://coverage.readthedocs.io/en/latest/faq.html
1010
about: Some common problems are described here.
11-
- name: Testing in Python mailing list
12-
url: http://lists.idyll.org/listinfo/testing-in-python
13-
about: Ask questions about using coverage.py here.
1411
- name: Tidelift security contact
1512
url: https://tidelift.com/security
1613
about: Please report security vulnerabilities here.

.github/ISSUE_TEMPLATE/support.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Support request
3+
about: Ask for help using coverage.py
4+
title: ''
5+
labels: support
6+
assignees: ''
7+
8+
---
9+
10+
**Have you asked elsewhere?**
11+
12+
There are other good places to ask for help using coverage.py. These places let
13+
other people suggest solutions, are more likely places for people to find your
14+
question:
15+
16+
- [Stack Overflow](https://stackoverflow.com/questions/tagged/coverage.py)
17+
- [discuss.python.org](https://discuss.python.org/search?q=coverage.py)
18+
19+
**Describe your situation**
20+
21+
Wherever you ask your question, be sure to explain:
22+
23+
- What you did
24+
- What happened
25+
- How that was different than what you wanted to happen
26+
- What kind of help you need

.github/SECURITY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Security Disclosures
2+
3+
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security).
4+
Tidelift will coordinate the fix and disclosure with maintainers.

.github/codecov.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# From:
2+
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot
3+
# Set update schedule for GitHub Actions
4+
5+
version: 2
6+
updates:
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
# Check for updates to GitHub Actions once a week
11+
interval: "weekly"
12+
groups:
13+
action-dependencies:
14+
patterns:
15+
- "*"
16+
commit-message:
17+
prefix: "chore"

.github/workflows/cancel.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)