Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit febe95d

Browse files
committed
CI: add mergify & DeepSource
1 parent cd66f32 commit febe95d

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

.deepsource.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version = 1
2+
3+
exclude_patterns = [
4+
".github/**",
5+
]
6+
7+
test_patterns = [
8+
"tests/**",
9+
"test_*.py"
10+
]
11+
12+
[[analyzers]]
13+
name = "test-coverage"
14+
enabled = true
15+
16+
[[analyzers]]
17+
name = "python"
18+
enabled = true
19+
20+
[analyzers.meta]
21+
runtime_version = "3.x.x"

.github/mergify.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
pull_request_rules:
2+
3+
- name: warn on conflicts
4+
conditions:
5+
- conflict
6+
- -draft # filter-out GH draft PRs
7+
- -label="has conflicts"
8+
actions:
9+
# comment:
10+
# message: This pull request is now in conflict... :(
11+
label:
12+
add: [ "has conflicts" ]
13+
14+
- name: resolved conflicts
15+
conditions:
16+
- -conflict
17+
- label="has conflicts"
18+
- -draft # filter-out GH draft PRs
19+
- -merged # not merged yet
20+
- -closed
21+
actions:
22+
label:
23+
remove: [ "has conflicts" ]
24+
25+
- name: update PR
26+
conditions:
27+
- -conflict
28+
- -draft # filter-out GH draft PRs
29+
- base=master # apply only on master
30+
- -title~=(?i)wip # skip all PR that title contains “WIP” (ignoring case)
31+
- "#approved-reviews-by>=1" # number of review approvals
32+
actions:
33+
update: {}

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ recursive-include bpdl *.py
1919
include setup.*
2020

2121
# Exclude build configs
22-
exclude *.yml *.yaml
22+
exclude *.yml *.yaml *.toml
2323
# Exclude testing
2424
exclude pytest.*
2525

0 commit comments

Comments
 (0)