Skip to content

Commit 1aad52b

Browse files
authored
Merge branch 'main' into patch-correct
2 parents cca6c71 + 63ba99a commit 1aad52b

108 files changed

Lines changed: 4315 additions & 1883 deletions

Some content is hidden

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

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
ignore = DCO010, DCO023, E203, E501, E712, F401, F403, F821, W503
3+
style = google
4+
skip-checking-short-docstrings = False

.github/workflows/black.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
pip install black==$BLACK_VERSION
2323
- name: Analysing the code with black
2424
run: |
25-
black $(git rev-parse --show-toplevel) --check
25+
black $(git rev-parse --show-toplevel) --check

.github/workflows/flake8.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: flake8
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
Flake8:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Set up Python 3.11
15+
uses: actions/setup-python@v3
16+
with:
17+
python-version: 3.11
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install pip==$(sed -nE 's/pip = "==(.*)"/\1/p' Pipfile)
21+
pip install pipenv==$(sed -nE 's/pipenv = "==(.*)"/\1/p' Pipfile)
22+
pipenv install --system
23+
- name: Analysing the code with flake8
24+
run: |
25+
flake8 $(git rev-parse --show-toplevel)

.github/workflows/isort.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
pip install isort==$ISORT_VERSION
2323
- name: Analysing the code with isort
2424
run: |
25-
isort --check-only $(git rev-parse --show-toplevel)/ --profile black
25+
isort --check-only $(git rev-parse --show-toplevel)/ --profile black

.pylintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ disable=C0103,
8080
W0406,
8181
W0613,
8282
W0622,
83-
W0718
83+
W0718,
84+
W0221,
85+
E1135,
86+
E1136
8487

8588
# Enable the message, report, category or checker with the given id(s). You can
8689
# either give multiple identifier separated by comma (,) or put this option

Pipfile

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,34 @@ verify_ssl = true
66
[packages]
77
aiocron = "==1.8"
88
bidict = "==0.22.1"
9-
black = "==24.4.0"
9+
black = "==24.4.2"
1010
dateparser = "1.2.0"
11-
"discord.py" = "==2.3.2"
12-
emoji = "==2.11.0"
11+
"discord.py" = "==2.4.0"
12+
emoji = "==2.11.1"
1313
expiringdict = "==1.2.2"
14+
flake8 = "==7.1.0"
15+
flake8-annotations = "==3.1.1"
16+
flake8-bugbear = "==24.4.26"
17+
flake8-docstrings-complete = "==1.3.0"
18+
flake8-modern-annotations = "==1.6.0"
19+
flake8-variables-names = "==0.0.6"
1420
gino = "==1.0.1"
1521
gitpython = "==3.1.43"
16-
hypothesis = "==6.100.1"
22+
hypothesis = "==6.104.0"
1723
ib3 = "==0.2.0"
18-
inflect = "==7.2.0"
24+
inflect = "==7.2.1"
1925
irc = "==20.1.0"
2026
isort = "==5.13.2"
2127
munch = "==4.0.0"
2228
typing_extensions = "==4.8.0"
23-
pip = "==24.0"
24-
pipenv = "==2023.12.1"
29+
pip = "==24.1"
30+
pipenv = "==2024.0.1"
2531
pydantic = "==2.7.0"
32+
pydoclint = "==0.4.1"
2633
pylint = "==3.1.0"
2734
pynacl = "==1.5.0"
28-
pytest = "==8.1.1"
29-
pytest-asyncio = "==0.23.6"
35+
pytest = "==8.2.2"
36+
pytest-asyncio = "==0.23.7"
3037
pyyaml = "==6.0.1"
3138
unidecode = "==1.3.8"
3239

Pipfile.lock

Lines changed: 369 additions & 380 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)