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

Commit b09c5f0

Browse files
committed
Shifted to v2.3
1 parent 3192b1e commit b09c5f0

187 files changed

Lines changed: 1704 additions & 0 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/workflows/pylintβ€Ž

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: PyLint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
PEP8:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- name: Setup Python
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: 3.8
15+
16+
- name: Install Python lint libraries
17+
run: |
18+
pip install autopep8 autoflake isort black
19+
- name: Check for showstoppers
20+
run: |
21+
autopep8 --verbose --in-place --recursive --aggressive --aggressive --ignore=W605. *.py
22+
- name: Remove unused imports and variables
23+
run: |
24+
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports .
25+
- name: lint with isort and black
26+
run: |
27+
isort .
28+
black .
29+
- uses: stefanzweifel/git-auto-commit-action@v4
30+
with:
31+
commit_message: 'Auto Fixes: Code formatted'
32+
commit_options: '--no-verify'
33+
repository: .
34+
commit_user_name: InukaaAith
35+
commit_user_email: inukaasith7@gmail.com
36+
commit_author: InukaAsith <inukaasith7@gmail.com>

β€Ž.gitignoreβ€Ž

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Python cache
2+
__pycache__/
3+
*.py[cod]
4+
*.pyc
5+
6+
# Telethon session cache
7+
*.session
8+
*.session-journal
9+
10+
# Config
11+
data/bot_conf.yaml
12+
13+
# Logs
14+
logs/
15+
16+
# Virtual envirment
17+
venv/
18+
19+
.vscode/
20+
.idea/
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)