Skip to content

Commit c3c33fa

Browse files
committed
Run pre-commits for the first time
1 parent aa90828 commit c3c33fa

319 files changed

Lines changed: 10592 additions & 10664 deletions

File tree

Some content is hidden

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

.github/mergify.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
pull_request_rules:
2-
- name: say hi on new contribution
3-
conditions:
4-
- base=main
5-
- label!=updateconf
6-
actions:
7-
comment:
8-
message: |
9-
Welcome to ccf-deadlines!
10-
We're delighted to have you onboard (p≧w≦q)
11-
label:
12-
add: ['updateconf']
13-
- name: ask the maintainer team to review PR
14-
conditions:
15-
- label!=invalid
16-
- "#approved-reviews-by<1"
17-
actions:
18-
request_reviews:
19-
teams:
20-
- "maintainers"
21-
- name: automatic merge for master when CI passes and 1 reviews
22-
conditions:
23-
- "#approved-reviews-by>=1"
24-
- check-success=build
25-
- base=main
26-
actions:
27-
merge:
28-
method: squash
29-
label:
30-
add: ['ready-to-merge']
31-
comment:
32-
message: |
33-
Great job!
34-
Thank you @{{author}} for your contribution!
2+
- name: say hi on new contribution
3+
conditions:
4+
- base=main
5+
- label!=updateconf
6+
actions:
7+
comment:
8+
message: |
9+
Welcome to ccf-deadlines!
10+
We're delighted to have you onboard (p≧w≦q)
11+
label:
12+
add: [updateconf]
13+
- name: ask the maintainer team to review PR
14+
conditions:
15+
- label!=invalid
16+
- '#approved-reviews-by<1'
17+
actions:
18+
request_reviews:
19+
teams:
20+
- maintainers
21+
- name: automatic merge for master when CI passes and 1 reviews
22+
conditions:
23+
- '#approved-reviews-by>=1'
24+
- check-success=build
25+
- base=main
26+
actions:
27+
merge:
28+
method: squash
29+
label:
30+
add: [ready-to-merge]
31+
comment:
32+
message: |
33+
Great job!
34+
Thank you @{{author}} for your contribution!

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ PR Title Format: Update conf_name conf_year
99

1010
### Related URL
1111
<!-- List useful URLs for reviewers to check -->
12-
-
12+
-

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
build:
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Node.js environment
1515
uses: actions/setup-node@main
1616
with:
17-
node-version: '15.x'
17+
node-version: 15.x
1818
- name: Set up Python 3.9
1919
uses: actions/setup-python@v1
2020
with:

.github/workflows/merge_check.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: MergeCheck
22

33
on:
44
pull_request:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
build:
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Node.js environment
1515
uses: actions/setup-node@main
1616
with:
17-
node-version: '15.x'
17+
node-version: 15.x
1818
- name: Set up Python 3.9
1919
uses: actions/setup-python@v1
2020
with:
@@ -44,4 +44,3 @@ jobs:
4444
yarn config set strict-ssl false
4545
yarn install
4646
yarn build
47-

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5
15-
- uses: pre-commit/action@v3.0.1
15+
- uses: pre-commit/action@v3.0.1

.readme_assets/best-practice.drawio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@
8383
</root>
8484
</mxGraphModel>
8585
</diagram>
86-
</mxfile>
86+
</mxfile>

accept_rates/AI/ecai.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
- title: ECAI
22
accept_rates:
33
- year: 2023
4-
submitted: 1631
4+
submitted: 1631
55
accepted: 391
66
str: 24.0%(391/1631 23')
77
rate: 0.23973022685469
88
source: https://github.com/tranhungnghiep/AI-Conference-Info
99
- year: 2024
10-
submitted: 2344
10+
submitted: 2344
1111
accepted: 547
1212
str: 23.3%(547/2344 24')
13-
rate: 0.233361774744027303
13+
rate: 0.233361774744027306
1414
source: https://github.com/tranhungnghiep/AI-Conference-Info

accept_rates/AI/ijcnn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
submitted: 1701
1111
accepted: 3272
1212
str: 52.0%(1701/3272 24')
13-
rate: 0.519865525672371638
13+
rate: 0.519865525672371653
1414
source: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10650734

cli/ccfddl/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

cli/ccfddl/__main__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ def parse_tz(tz):
2222

2323
def parse_args():
2424
parser = ArgumentParser(description="cli for ccfddl")
25-
parser.add_argument("--conf", type=str, nargs='+',
25+
parser.add_argument("--conf", type=str, nargs='+',
2626
help="A list of conference ids you want to filter, e.g.: '--conf CVPR ICML'")
27-
parser.add_argument("--sub", type=str, nargs='+',
27+
parser.add_argument("--sub", type=str, nargs='+',
2828
help="A list of subcategories ids you want to filter, e.g.: '--sub AI CG'")
29-
parser.add_argument("--rank", type=str, nargs='+',
29+
parser.add_argument("--rank", type=str, nargs='+',
3030
help="A list of ranks you want to filter, e.g.: '--rank C N'")
3131
args = parser.parse_args()
3232
# Convert all arguments to lowercase
@@ -89,12 +89,12 @@ def main():
8989

9090
all_conf_ext = sorted(all_conf_ext, key=lambda x: x['time_obj'])
9191

92-
# This is not an elegant solution.
93-
# The purpose is to keep the above logic untouched,
92+
# This is not an elegant solution.
93+
# The purpose is to keep the above logic untouched,
9494
# return alpha id(conf name) without digits(year)
9595
def alpha_id(with_digits: string) -> string:
9696
return ''.join(char for char in with_digits.lower() if char.isalpha())
97-
97+
9898
table = [["Title", "Sub", "Rank", "DDL", "Link"]]
9999
# Filter intersection by args
100100
for x in all_conf_ext:
@@ -108,8 +108,8 @@ def alpha_id(with_digits: string) -> string:
108108
if skip:
109109
continue
110110
table.append(
111-
[x["title"],
112-
x["sub"],
111+
[x["title"],
112+
x["sub"],
113113
x["rank"],
114114
format_duraton(x["time_obj"], now),
115115
x["link"]]

0 commit comments

Comments
 (0)