dpylint
An pylint extension for linting discord.py
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
About The Project
dpylint is a pylint extension that lints python code written for a discord bot
For a demo see demo.md
Built With
Getting Started
To install dpylint:
Prerequisites
You'll need to have python and pylint installed in order to use the extension
Installation
-
Installing via pip
-
Directly installing via pip (Recommended)
pip install dpylint
-
Installing using pip and git
pip install git+https://github.com/wasi-master/dpylint.git
-
-
Cloning then installing
-
Clone the repo
git clone https://github.com/wasi-master/dpylint.git
-
Install using pip
pip install .
-
Usage
Create a new file called .pylintrc and add this to that file
[MASTER]
load-plugins=dpylint
For more examples such as vscode installation, usage without pylintrc file, please refer to the Documentation
Roadmap
See the todo list for a list of features yet to be added(and known issues). Also see the open issues issues.
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Project Link: https://github.com/wasi-master/dpylint
Discord: Wasi Master#6969
Email: arianmollik323@gmail.com
Acknowledgements
-
Cyrus from the official discord.py server
- For the event checking idea
-
Gnome from the official discord.py server
- For the idea to check for aliases. e.g. ctx.channel.send instead of ctx.send
-
proguy (bobo yoda) from the official discord.py server
- For the idea to check for client instead of bot
-
Hay (Kekka)
- For the idea to check for misleading variable names for discord.User and discord.Member
Metadata
Release files for dpylint 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dpylint-0.2.2.tar.gz | 11.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dpylint-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / dpylint-0.2.2.tar.gz
| Download URL | dpylint-0.2.2.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a6f22d23218927ce50e73c62395464a40674dcf4b24827be11b975a0b54b9db
|
|
BLAKE2b-256 checksum How to use checksums |
03d50f61ecc4060e39153c031e70bb06b62a1542597c63456c5930066e6e415a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / dpylint-0.2.2-py3-none-any.whl
| Download URL | dpylint-0.2.2-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
641e56ed6fe32d33ac79428065b302a9ffe1288c2b7a845c569e817ac776cb12
|
|
BLAKE2b-256 checksum How to use checksums |
c25a5f71ea1eac307459759dde04e454103af61ea8d115f324ac410cd1815918
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|