Skip to content

Commit 3d54d6c

Browse files
authored
Merge branch 'master' into add-graph-hook
2 parents a4999f9 + 521ada5 commit 3d54d6c

File tree

93 files changed

+5514
-1076
lines changed

Some content is hidden

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

93 files changed

+5514
-1076
lines changed

.codecov.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
codecov:
2+
notify:
3+
after_n_builds: 21 # Number of test matrix+lint jobs uploading coverage
4+
wait_for_ci: false
5+
6+
require_ci_to_pass: false
7+
# notsecret # repo-scoped, upload-only, stability in fork PRs
8+
token: >-
9+
7316089b-55fe-4646-b640-78d84b79d109
10+
11+
comment:
12+
require_changes: true
13+
14+
coverage:
15+
range: 100..100
16+
status:
17+
patch:
18+
default:
19+
target: 100%
20+
pytest:
21+
target: 100%
22+
flags:
23+
- pytest
24+
typing:
25+
flags:
26+
- MyPy
27+
project:
28+
default:
29+
target: 95%
30+
lib:
31+
flags:
32+
- pytest
33+
paths:
34+
- src/
35+
target: 100%
36+
tests:
37+
flags:
38+
- pytest
39+
paths:
40+
- tests/
41+
target: 100%
42+
typing:
43+
flags:
44+
- MyPy
45+
target: 90%
46+
47+
github_checks:
48+
# Annotations are deprecated in Codecov because they are misleading.
49+
# Ref: https://github.com/codecov/codecov-action/issues/1710
50+
annotations: false

.coderabbit.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
reviews:
3+
# Collapse main AI comment by default, as it takes too much space when
4+
# expanded. It also is needless for subsequent rounds of PR review, mostly
5+
# only for the first one
6+
collapse_walkthrough: true
7+
# Move AI-generated summary from PR description to main AI comment. It
8+
# hallucinates sometimes, especially with PRs that change code linting rules
9+
high_level_summary_in_walkthrough: true
10+
# Disable false-positive cross links to issues
11+
related_issues: false
12+
# Disable false-positive cross links to PRs
13+
related_prs: false
14+
# Disable useless Poem generation
15+
poem: false
16+
17+
auto_review:
18+
# Enable AI review for Draft PRs
19+
drafts: true

.coveragerc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[html]
2+
show_contexts = true
3+
skip_covered = false
4+
5+
[paths]
6+
_site-packages-to-src-mapping =
7+
src
8+
*/src
9+
*\src
10+
*/lib/pypy*/site-packages
11+
*/lib/python*/site-packages
12+
*\Lib\site-packages
13+
14+
[report]
15+
skip_covered = true
16+
skip_empty = true
17+
show_missing = true
18+
exclude_also =
19+
^\s*@pytest\.mark\.xfail
20+
^\s*\.\.\.\s*(#.*)?$
21+
22+
[run]
23+
branch = true
24+
cover_pylib = false
25+
# https://coverage.rtfd.io/en/latest/contexts.html#dynamic-contexts
26+
# dynamic_context = test_function # conflicts with `pytest-cov` if set here
27+
parallel = true
28+
plugins =
29+
covdefaults
30+
relative_files = true
31+
source =
32+
.
33+
source_pkgs =
34+
pre_commit_terraform

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
!.dockerignore
33
!Dockerfile
44
!tools/entrypoint.sh
5+
!tools/install/*.sh

.git-blame-ignore-revs

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# `git blame` master ignore list.
2+
#
3+
# This file contains a list of git hashes of revisions to be ignored
4+
# by `git blame`. These revisions are considered "unimportant" in
5+
# that they are unlikely to be what you are interested in when blaming.
6+
# They are typically expected to be formatting-only changes.
7+
#
8+
# It can be used for `git blame` using `--ignore-revs-file` or by
9+
# setting `blame.ignoreRevsFile` in the `git config`[1].
10+
#
11+
# Ignore these commits when reporting with blame. Calling
12+
#
13+
# git blame --ignore-revs-file .git-blame-ignore-revs
14+
#
15+
# will tell `git blame` to ignore changes made by these revisions when
16+
# assigning blame, as if the change never happened.
17+
#
18+
# You can enable this as a default for your local repository by
19+
# running
20+
#
21+
# git config blame.ignoreRevsFile .git-blame-ignore-revs
22+
#
23+
# This will probably be automatically picked by your IDE
24+
# (VSCode+GitLens and JetBrains products are confirmed to do this).
25+
#
26+
# Important: if you are switching to a branch without this file,
27+
# `git blame` will fail with an error.
28+
#
29+
# GitHub also excludes the commits listed below from its "Blame"
30+
# views[2][3].
31+
#
32+
# [1]: https://git-scm.com/docs/git-blame#Documentation/git-blame.txt-blameignoreRevsFile
33+
# [2]: https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/
34+
# [3]: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
35+
#
36+
# Guidelines:
37+
# - Only large (generally automated) reformatting or renaming PRs
38+
# should be added to this list. Do not put things here just because
39+
# you feel they are trivial or unimportant. If in doubt, do not put
40+
# it on this list.
41+
# - When adding a single revision, use inline comment to link relevant
42+
# issue/PR. Alternatively, paste the commit title instead.
43+
# Example:
44+
# d4a8b7307acc2dc8a8833ccfa65426ad28b3ffc9 # https://github.com/sanitizers/octomachinery/issues/1
45+
# - When adding multiple revisions (like a bulk of work over many
46+
# commits), organize them in blocks. Precede each such block with a
47+
# comment starting with the word "START", followed by a link to the
48+
# relevant issue or PR. Add a similar comment after the last block
49+
# line but use the word "END", followed by the same link.
50+
# Alternatively, add or augment the link with a text motivation and
51+
# description of work performed in each commit.
52+
# After each individual commit in the block, add an inline comment
53+
# with the commit title line.
54+
# Example:
55+
# # START https://github.com/sanitizers/octomachinery/issues/1
56+
# 6f0bd2d8a1e6cd2e794cd39976e9756e0c85ac66 # Bulk-replace smile emojis with unicorns
57+
# d53974df11dbc22cbea9dc7dcbc9896c25979a27 # Replace double with single quotes
58+
# ... <rest of the list>
59+
# # END https://github.com/sanitizers/octomachinery/issues/1
60+
# - Only put full 40-character hashes on this list (not short hashes
61+
# or any other revision reference).
62+
# - Append to the bottom of the file, regardless of the chronological
63+
# order of the revisions. Revisions within blocks should be in
64+
# chronological order from oldest to newest.
65+
# - Because you must use a hash, you need to append to this list in a
66+
# follow-up PR to the actual reformatting PR that you are trying to
67+
# ignore. This approach helps avoid issues with arbitrary rebases
68+
# and squashes while the pull request is in progress.
69+
70+
23928fbf8511697c915c3231977ee254bd3fa0c2 # chore(linters): Apply ruff-format

.git_archival.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node: $Format:%H$
2+
node-date: $Format:%cI$
3+
describe-name: $Format:%(describe:tags=true)$

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.git_archival.txt export-subst

0 commit comments

Comments
 (0)