Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆ Update to 1.4 #138

Merged
merged 240 commits into from
Mar 12, 2023
Merged
Show file tree
Hide file tree
Changes from 237 commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
ee0a86d
🌟refactor(start): start.py refactor (6.75 -> 10)
Aeris1One Aug 26, 2022
67457ba
🌟refactor(start): pass through black formatter
Aeris1One Aug 26, 2022
5573398
Merge pull request #2 from Gunivers/master
Aeris1One Aug 26, 2022
6db3441
🌟 refactor(utils): auto-refactor utils.py
Aeris1One Aug 26, 2022
3e2ef6b
🌟 refactor(utils): auto-refactor checks.py
Aeris1One Aug 26, 2022
e35b85e
🌟 refactor(utils): auto-refactor config.py
Aeris1One Aug 26, 2022
028b3f7
🌟 refactor(utils): auto-refactor args.py
Aeris1One Aug 26, 2022
96a656c
🌟 refactor(utils): auto-refactor docs.py
Aeris1One Aug 26, 2022
e61b722
🌟 refactor(utils): auto-refactor utils/
Aeris1One Aug 26, 2022
8463ef4
🌟 refactor(plugins): auto-refactor plugins
Aeris1One Aug 26, 2022
a693186
🌟merge(auto-refactor): auto-refactor using autopep8 and black
Aeris1One Aug 26, 2022
f68c600
Merge branch 'master' into refactor
Aeris1One Aug 26, 2022
6475b26
Merge pull request #42 from Aeris1One/refactor
VForiel Aug 27, 2022
3010010
Added auto-deploy
VForiel Aug 27, 2022
6426e40
🧹clean(action): retrait des commentaires
VForiel Aug 27, 2022
acb7875
🏗️refactor: plugin's main file (discussion 31)
VForiel Aug 28, 2022
e009cb0
🏗️ Refactor: Plugin documentation
VForiel Aug 28, 2022
65cea64
Merge pull request #44 from Gunivers/auto-deploy
VForiel Aug 29, 2022
ae52a4a
🌟 style: fix code style issues with Black
Aug 29, 2022
a8e8013
🧫ci(auto-deploy): disable on push on master, enable manual dispatch
Aeris1One Aug 29, 2022
0273bc0
🏗️ Added config squashing + setup tool
VForiel Aug 29, 2022
769c2ee
😍 Esthetic: improved start messages and logs
VForiel Aug 29, 2022
90e8ec9
🏗️Refactor: improved first user experience
VForiel Aug 29, 2022
59e8679
🏗️ Refactor: config class + improved first steps
VForiel Aug 29, 2022
d618e9b
🏗️ Refactor: Edited config management
VForiel Aug 30, 2022
0e02f56
🏗️Refactor: Changed full config copy by import
VForiel Aug 30, 2022
8e7bea4
🧫ci(linter): fix failing imports
Aeris1One Aug 30, 2022
207f97a
Merge pull request #47 from Gunivers/auto-deploy-manual-dispatch
VForiel Aug 30, 2022
f7315a3
🔨 docs(conf): fix conflicts between branches
Aeris1One Sep 1, 2022
8f8cd1b
⚒️ docs(conf): fix conflicts
Aeris1One Sep 1, 2022
fc0565b
🏗️ Refactor: yaml configs + improved setup script
VForiel Sep 1, 2022
ada4523
🩹 Fix: Resolved all review
VForiel Sep 2, 2022
c4d6c3b
🏗️ Refactor: Private config
VForiel Sep 3, 2022
2414d6c
🏗️ Refactor: plugin setup return it's own config
VForiel Sep 4, 2022
a23d96c
🩹 fix: oups.
VForiel Sep 4, 2022
fdb0643
🩹 fix: wrong function name
VForiel Sep 4, 2022
f09041c
Fix launch of the bot from setup.py using subprocess.run instead of o…
theogiraudet Sep 5, 2022
5e98d34
Merge remote-tracking branch 'origin/new_structure' into new_structure
theogiraudet Sep 5, 2022
8a8b413
Fix some bugs preventing the help command to work
theogiraudet Sep 6, 2022
2b563ec
➖ del: removed all plugins from this repo
VForiel Sep 7, 2022
2b168c3
🚮 del: really delete plugins from this repo
Aeris1One Sep 7, 2022
478c7d7
➕ ci: add submodule support and sync
Aeris1One Sep 7, 2022
d02579b
🩹 Fix: async config dispatch
VForiel Oct 2, 2022
f9c1977
🔄️Sync plugin commit
VForiel Oct 2, 2022
444ab47
🩹 Fix: config was not correctly dispatched
VForiel Oct 5, 2022
37222e7
🔄️ sync plugins submodule
VForiel Oct 5, 2022
9225108
😍 Style: enhanced !config command
VForiel Oct 5, 2022
08698f9
🔄️ Sunc plugins (wormhole fix)
VForiel Oct 5, 2022
d0713a9
🔄️ Sync wormhole fix
VForiel Oct 5, 2022
02c9596
🧹 Applied requested editions + enhanced readme
VForiel Oct 11, 2022
b2edbd3
🩹 Fix: issue with server config
VForiel Oct 11, 2022
b8c37ff
Merge branch dev into beta
VForiel Oct 12, 2022
1c8b98c
🖋️ docs(readme) : fix fixes
Aeris1One Oct 12, 2022
0d1fce5
🔄️ Plugin sync (enhanced misc plugin)
VForiel Oct 13, 2022
5582303
🔄️ Plugin sync (wormhole fix)
VForiel Oct 13, 2022
9839d42
📉 Tweak(XP) xp reduction
VForiel Oct 13, 2022
6791f76
XP reduction #2
VForiel Oct 13, 2022
0e17eee
Fixed xp_reduction period
VForiel Oct 13, 2022
1f1fa9a
Applied Z_runner review
VForiel Oct 13, 2022
ed8159a
Undo
VForiel Oct 13, 2022
7d982e5
Cébon, téconten Z ? :hide:
VForiel Oct 13, 2022
a1a42ea
Merge pull request #61 from Gunivers/better_xp
VForiel Oct 14, 2022
b5d7044
😨 ux: message lisible en cas d'erreur d'import
VForiel Oct 14, 2022
ff3b0d5
Y'en a deux qui m'ont échapé
VForiel Oct 14, 2022
f0a108a
Better way to test requirements
VForiel Oct 14, 2022
6642150
🩹 fix: Removed unecessary program stop
VForiel Oct 15, 2022
ab4a291
🩹 fix: wrong requirement version
VForiel Oct 15, 2022
065e2ec
🩹 fix: "plugins" folder not found error
VForiel Oct 15, 2022
f11c8fc
Added numpy to requirements
VForiel Oct 15, 2022
76b087b
🔄️sync: Changed default value for enable_xp
VForiel Oct 15, 2022
6003214
🔄️ sync: change default value for enable_xp
VForiel Oct 15, 2022
673e97e
Check python 3.10
VForiel Oct 15, 2022
25ea304
🔄️ sync: xp plugin fix
VForiel Oct 15, 2022
51a5e67
🧰 Added python virtual environment
VForiel Oct 16, 2022
b55fd45
🩹 Error in Readme (installation process)
VForiel Oct 16, 2022
cc2316a
Minor change in Readme
VForiel Oct 16, 2022
8de3dcc
😍 style: Added shields to readme
VForiel Oct 16, 2022
1439613
🗑feat!(plugins): removed submodule
ascpial Oct 16, 2022
b3f4f43
✅feat(plugins): added example plugins
ascpial Oct 16, 2022
2376e29
😍style: fresher buttons ^^
VForiel Oct 17, 2022
5497b34
Updated LRFutils
VForiel Oct 26, 2022
e89e742
🔄️ Plugin sync
VForiel Oct 26, 2022
529143b
⚙️ Improved dependencies installation process
VForiel Oct 26, 2022
567d514
Edited gitignore to mix base and additional plugin
VForiel Oct 29, 2022
3b34b0a
ℹ️ Added help message on argument error
VForiel Oct 29, 2022
cfe4d23
❌ Style(errors): enhanced error messages
VForiel Oct 29, 2022
37ef84a
❌ Style: Slightly improved error message
VForiel Oct 29, 2022
6d7e6a3
😍 Style: enhanced help & added icon to cogs
VForiel Oct 29, 2022
02ccfbf
Merge pull request #69 from Gunivers/🩹-Some-plugin-fixes
VForiel Oct 31, 2022
57db003
🌟 style: fix code style issues with Black
Oct 31, 2022
7753834
📄 Docs: added changelog and migration guides
VForiel Nov 1, 2022
1f600b2
Applied Z_runner change requests
VForiel Nov 1, 2022
c81ef1b
Applied Z_runner change request
VForiel Nov 1, 2022
07549a4
🧫ci(linter): fix imports & disable auto-fix on master branch (#43)
Aeris1One Nov 1, 2022
2b9f41a
Merge pull request #70 from Gunivers/📄-Changelog-and-migration-guides
VForiel Nov 2, 2022
b8a0548
Applied Z_runner change request
VForiel Nov 2, 2022
387dc45
Removed plugins
VForiel Nov 3, 2022
fb69480
Merge pull request #65 from Gunivers/Try-imports
VForiel Nov 3, 2022
0c61852
🌟 style: fix code style issues with Black
Nov 3, 2022
bcb1712
Hotfix of merge conflicts resolved too quickly 😅
VForiel Nov 3, 2022
d02ac4a
🌟 style: fix code style issues with Black
Nov 3, 2022
571de91
Removed submodule CI
VForiel Nov 8, 2022
591931f
Uh, it was not supposed to work before this fix...
VForiel Nov 8, 2022
c507dca
Merge pull request #80 from Gunivers/Wrong-call-that-often-work-.-🤔
VForiel Feb 2, 2023
f01a6a6
Merge pull request #79 from Gunivers/Remove-submodule-CI
VForiel Feb 2, 2023
116b235
Added licence header to python files
VForiel Feb 3, 2023
c77cbf7
Updated YML files
VForiel Feb 3, 2023
0ad2f0b
Updated markdown files
VForiel Feb 3, 2023
254910b
Updated sql files
VForiel Feb 3, 2023
52465e5
Added LICENSE.md
VForiel Feb 4, 2023
349fa40
Fix ascpial spelling
ascpial Feb 4, 2023
51f0a6a
Merge pull request #86 from Gunivers/Application-of-CeCILL-licence
VForiel Feb 7, 2023
045b765
🎨 improved doc style
VForiel Feb 9, 2023
965e3a1
📜Added installation & first steps guide to doc
VForiel Feb 9, 2023
3b84738
🐛Removed doc generation (only work in local)
VForiel Feb 9, 2023
3ade8d2
🧹Removed useless dependency
VForiel Feb 9, 2023
488aa7c
📜Slight doc corrections
VForiel Feb 9, 2023
7b4a0a2
Added trusted instances
VForiel Feb 10, 2023
25ff156
Initial commit
VForiel Aug 18, 2022
3f4aa03
➕ Added all plugins
VForiel Sep 7, 2022
cf48a07
🩹 Fix: Thanos'ed plugins (so... I am Iron Man 😎)
VForiel Oct 2, 2022
3a53331
🩹 Fix(rss): config not correctly retrieved
VForiel Oct 5, 2022
8d86b1c
🩹Fix: wormhole replies are back + bot msg allowed
VForiel Oct 5, 2022
521d833
🩹 Fix: error trying to delete inexistant msg
VForiel Oct 5, 2022
fda1c02
🩹 Fix: issue with server config
VForiel Oct 11, 2022
ba6e2db
Merge dev into beta
VForiel Oct 12, 2022
8a3df81
Still trying to merge dev into beta
VForiel Oct 12, 2022
70dff4e
😍 style(misc): cleaned and enhanced misc plugin
VForiel Oct 13, 2022
d1234c0
🩹 Fix(wormhole): issue #3
VForiel Oct 13, 2022
38484fa
📉 Tweak(XP) xp reduction
VForiel Oct 13, 2022
dc0e982
XP reduction #2
VForiel Oct 13, 2022
4085f04
Fixed xp_reduction period
VForiel Oct 13, 2022
05de6f3
Applied Z_runner review
VForiel Oct 13, 2022
1ae2a50
Undo
VForiel Oct 13, 2022
5730fa0
Cébon, téconten Z ? :hide:
VForiel Oct 13, 2022
f18bd8f
🔧 tweak: change default value for enable_xp
VForiel Oct 15, 2022
8faa11e
🩹 xp: channels outside categories induce errors
VForiel Oct 15, 2022
9bcbca6
Updated LRFutils
VForiel Oct 26, 2022
93f2cdf
Edited gitignore to mix base and additional plugin
VForiel Oct 29, 2022
3a712dd
🩹 NoXP categories wasn't correctly excluded
VForiel Oct 29, 2022
1366b5c
🚮Removed default plugins from plugin repo
VForiel Oct 29, 2022
d513bb0
🩹 Fixed: error when join non-existing group
VForiel Oct 29, 2022
6461ae3
😍 Style: Added icons to cogs
VForiel Oct 29, 2022
b13588f
😍 Style: enhanced help readability
VForiel Oct 30, 2022
c7f646e
➕ Add: possibility to move message in threads
VForiel Oct 31, 2022
c3620ed
🧹 Small clean
VForiel Oct 31, 2022
491173e
⛔ Add: all channel supports for !hs command
VForiel Oct 31, 2022
9e9d076
Applied Z_runner change request
VForiel Nov 1, 2022
a0444c3
Re-added Misc, Wormhole & RSS
VForiel Nov 3, 2022
1c288e8
Added CI/CD (copy/paste from main repo)
VForiel Nov 8, 2022
96d2a55
🩹 Fix(wh): edit msg with attachements
VForiel Nov 9, 2022
f6f5ec1
Added licence header to python files
VForiel Feb 3, 2023
c870cbe
Updated YML files
VForiel Feb 3, 2023
b57bc07
Updated markdown files
VForiel Feb 3, 2023
b74ef91
Updated sql files
VForiel Feb 3, 2023
6b970b6
Added credits
VForiel Feb 4, 2023
167a549
Nothing to do here ^^'
VForiel Feb 4, 2023
cd39e08
Updated credits to reflect reality
ascpial Feb 4, 2023
2690296
Fix missing space
ascpial Feb 4, 2023
5764f7b
Fix year span for some users
ascpial Feb 4, 2023
76598cb
:pencil2: Fix typo in groups fr translation
Aeris1One Feb 10, 2023
c94001e
:busts_in_silhouette: Add credits for Aragorn1202's death messages
Aeris1One Feb 10, 2023
7ca1062
✨ Wormhole now support threads
VForiel Feb 11, 2023
559338d
🔢 Fix role position in logs
ascpial Feb 11, 2023
c5962b8
📜 Add credit for ascpial in logs
ascpial Feb 11, 2023
1a55dc4
❎ Permission fixes for help command
ascpial Feb 11, 2023
6c76b83
ℹ Rss command without arguments works
ascpial Feb 11, 2023
eeeb058
📜 Added credits to ascpial in RSS plugin
ascpial Feb 11, 2023
280a0e3
📈 Fix permissions for role_level command
ascpial Feb 11, 2023
85e928b
👤Fix avatar URL in logs
ascpial Feb 11, 2023
73e6db1
📋 Help does not work on unaccessible commands
ascpial Feb 11, 2023
5161b2b
♻️ feat: re-add ban refactor
ascpial Nov 12, 2022
65c8f72
♻️ feat: re-add ban translations
ascpial Nov 12, 2022
9eb8768
🔨 WIP: Roll back configuration
ascpial Feb 11, 2023
37fec54
🔨 Banhammer is repaired
ascpial Feb 11, 2023
064bdd8
😵 Remove debug prints
ascpial Feb 11, 2023
e0e0590
🚮 Remove unecessary files
ascpial Feb 11, 2023
769eee4
🗣Fix for translation command
ascpial Feb 11, 2023
0cf22cb
⚙ Fix for perms command
ascpial Feb 11, 2023
5767ad0
📜Updated authors and removed generated files
VForiel Feb 12, 2023
ffcc1e7
Fix gitignore
VForiel Feb 12, 2023
41a71b6
Merge branch 'beta' into Doc-refactor
VForiel Feb 12, 2023
53c8d30
Merge pull request #93 from Gunivers/Doc-refactor
VForiel Feb 12, 2023
84eaad3
🧹 fix: console spam when stopping the bot
ascpial Feb 12, 2023
31fe6bb
🔓feat(antikikoo): added configuration commands
ascpial Feb 12, 2023
913a241
🕳 fix(wh): webhook issues when deleted
ascpial Feb 12, 2023
b97b254
🕵 fix(inviteTracker): rate limit and improvments
ascpial Feb 12, 2023
0adb61c
Removed git submodule
VForiel Feb 13, 2023
7ca8c6e
⬆ fix(xp): noxp channels and config update
ascpial Feb 15, 2023
32622aa
😬 fix(xp): bug with noxp_channels reset
ascpial Feb 15, 2023
0e20440
❓fix(help): long subcommand list
ascpial Feb 15, 2023
7e9be0b
⏳feat: show when the bot is loading
ascpial Feb 12, 2023
fd7d671
1️⃣ fix: only plad plugins once
ascpial Feb 15, 2023
d1bb727
😡 fix(misc): hs command for threads
ascpial Feb 19, 2023
1ab2450
📜 Added help notice + emojis and fix title style
VForiel Feb 12, 2023
28240e4
📝 Interactive doc (linked with repo discussions)
VForiel Feb 18, 2023
c94eb17
🖨docs: general improvments
ascpial Feb 19, 2023
d14ac41
Use the user's nickname instead of the username
Majoras16 Feb 20, 2023
2538538
Update credits.md
Majoras16 Feb 20, 2023
c8f05a6
Update messageManager.py
Majoras16 Feb 20, 2023
961c835
🐛 fix(rss): import error on setup
ascpial Feb 20, 2023
8b70679
⬆️ dep: upgraded lrfutils to 0.1.2
ascpial Feb 20, 2023
72a60f5
🐛 fix: loop and colors bugs
ascpial Feb 20, 2023
be9a69c
🐛 fix(wh): migrated old logs
ascpial Feb 20, 2023
e5d3a15
📨 feat(perms): move perms file
ascpial Feb 19, 2023
4108b1b
🗣 feat: move perms translation in module
ascpial Feb 19, 2023
6d9b732
✏ fix(perms): add mising translations
ascpial Feb 19, 2023
1fd5ab1
📓docs(perms): added documentation and credits
ascpial Feb 19, 2023
ca671c3
🔖 feat: version change to 1.4
ascpial Feb 21, 2023
205f166
💚 fix(ci): fix deploy for gipsy beta and prod
ascpial Feb 26, 2023
48e4fa9
:bug: fix: fix "No message found" when only two messages must be moved
Aeris1One Feb 26, 2023
6f5112a
:construction_worker: ci: automatically restart bot after deployment
Aeris1One Feb 26, 2023
71e05ad
:construction_worker: ci: follow best practices in secret handling
Aeris1One Feb 26, 2023
6bb1460
:bug: fix(voice): fix random voice channel names
Aeris1One Feb 26, 2023
9759a84
:poop: fix(voice): temporarily use asterix name everytime as the API …
Aeris1One Feb 26, 2023
6526eb7
:bug: fix(voice): fix randommer API call
Aeris1One Feb 26, 2023
ba136f3
🐛 fix(voice): wrong test for empty api key
ascpial Feb 26, 2023
59e89a8
🔥 feat(voice): remove unecessary debug
ascpial Feb 26, 2023
b095e8b
📝 credits(groups): fix credits for fantomitechno
ascpial Feb 26, 2023
38596e4
🐛 fix(ci): environment variable interpretation
Aeris1One Feb 27, 2023
eb4dbef
🐛 fix(wormhole): replies don't work
ascpial Feb 28, 2023
2f28926
🐛 fix(wormhole): reply embed removed when edited
ascpial Feb 28, 2023
2a94e8f
🐛 fix(wormhole): check for edit is outdated
ascpial Feb 28, 2023
ce1ae44
🐛 fix(wormhole): unlink don't work
ascpial Feb 28, 2023
a2bedb2
:pencil2: fix: typo in wormhole translations
Aeris1One Mar 3, 2023
9ac6d3b
🐛 fix(__template__): template don't works
ascpial Mar 4, 2023
d28b103
🐛 fix(xp): cannot use normal emoji for levelup
ascpial Mar 4, 2023
807b767
🐛 fix(language): support for bot update for translations
ascpial Feb 28, 2023
88ab24b
🐛 fix(sconfig): error in console when loading
ascpial Mar 4, 2023
f6c3029
📝 Updated doc theme
VForiel Mar 5, 2023
82e4047
📝 Fix missing module
VForiel Mar 5, 2023
3a104b6
📝 Fixed links
VForiel Mar 5, 2023
64aba24
📝 Added support button
VForiel Mar 5, 2023
1f42890
💄 Improved doc style
VForiel Mar 11, 2023
3c563db
💄 CSS improvements
VForiel Mar 11, 2023
785d1b7
🎨 Avoiding color redefinition
VForiel Mar 11, 2023
21c7625
✏️ Typo on "rôle"
VForiel Mar 11, 2023
066ecb2
:bug: fix: fix ban in threads
Aeris1One Mar 11, 2023
f6b3581
:bug: fix: side-effect of last fix
Aeris1One Mar 11, 2023
a8efc0f
♻️ refactor(ban): better check
ascpial Mar 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/deploy_gipsy-beta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy Gipsy Beta

on:
workflow_dispatch:
push:
branches:
- beta

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # fetch all history
submodules: recursive
- name: Deploy to server
uses: swznd/sftp-deploy@master
with:
host: ${{ secrets.BETA_SFTP_IP }}
port: ${{ secrets.BETA_SFTP_PORT }}
user: ${{ secrets.BETA_SFTP_USER }}
password: ${{ secrets.BETA_SFTP_PASSWORD }}
ignore: .github/**,.gitignore,**/.gitignore,**/.git/**
- name: Restart running bot
env:
GIPSY_RESTART_BETA_ENDPOINT: ${{ secrets.GIPSY_RESTART_BETA_ENDPOINT }}
GIPSY_RESTART_BETA_BEARER: ${{ secrets.GIPSY_RESTART_BETA_BEARER }}
run: |
curl $GIPSY_RESTART_BETA_ENDPOINT \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $GIPSY_RESTART_BETA_BEARER" \
-X POST \
-d '{
"signal": "restart"
}'
38 changes: 38 additions & 0 deletions .github/workflows/deploy_gipsy-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy Gipsy Prod

on:
workflow_dispatch:
#push:
# branches:
# - master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # fetch all history
submodules: recursive
- name: Deploy to server
uses: swznd/sftp-deploy@master
with:
host: ${{ secrets.PROD_SFTP_IP }}
port: ${{ secrets.PROD_SFTP_PORT }}
user: ${{ secrets.PROD_SFTP_USER }}
password: ${{ secrets.PROD_SFTP_PASSWORD }}
ignore: .github/**,.gitignore,**/.gitignore,**/.git/**
- name: Restart running bot
env:
GIPSY_RESTART_PROD_ENDPOINT: ${{ secrets.GIPSY_RESTART_PROD_ENDPOINT }}
GIPSY_RESTART_PROD_BEARER: ${{ secrets.GIPSY_RESTART_PROD_BEARER }}
run: |
curl $GIPSY_RESTART_PROD_ENDPOINT \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer $GIPSY_RESTART_PROD_BEARER' \
-X POST \
-d '{
"signal": "restart"
}'
5 changes: 5 additions & 0 deletions .github/workflows/python-linter-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@ jobs:
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Python dependencies
run: pip install -r requirements.txt

- name: Install Linters
run: pip install black pylint

- name: Run linters
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/python-linter-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,18 @@ jobs:
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Python dependencies
run: pip install -r requirements.txt

- name: Install Linters
run: pip install black pylint

- name: Run linters
Expand All @@ -42,6 +47,6 @@ jobs:
pylint: true
pylint_args: "--disable=C,R,I"
auto_fix: true
git_name: "GuniLint"
git_email: "[email protected]"
git_name: "GuniBot"
git_email: "[email protected]"
commit_message: "🌟 style: fix code style issues with ${linter}"
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.vscode
__pycache__
configs/*.json
logs/
/config.yaml
/logs/
.DS_Store
data/*.db*
config.json
Expand All @@ -12,7 +13,8 @@ config.json
.idea/
venv/
env/
docs/_*
docs/Makefile
docs/make.bat
require.json
docs/_templates
docs/_build
docs/build
require.json
docs/plugins
Loading