Skip to main content

A pylint extension for analyzing python files that use the discord.py library

Project description


Logo

dpylint

An pylint extension for linting discord.py
Explore the docs »

View Demo · Report Bug · Request Feature

Contributors Forks Stargazers Issues Code Size MIT License Say Thanke Downloads last Month Downloads last Week Downloads last Day Version Tests Build Code style: black

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

dpylint banner 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

    1. Directly installing via pip (Recommended)

      pip install dpylint
      
    2. Installing using pip and git

      pip install git+https://github.com/wasi-master/dpylint.git
      
  • Cloning then installing

    1. Clone the repo

      git clone https://github.com/wasi-master/dpylint.git
      
    2. 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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dpylint-0.1.6.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

dpylint-0.1.6-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file dpylint-0.1.6.tar.gz.

File metadata

  • Download URL: dpylint-0.1.6.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for dpylint-0.1.6.tar.gz
Algorithm Hash digest
SHA256 dea4f85d3231c7d0880e7d475901cb8e34cd31335bdfdcda818ea178b88af2d8
MD5 3bad146b4bfa261cb2827d50f8e06682
BLAKE2b-256 f022121171ba131831b12c6664c606b8f19f74ba7307f39e2ac7c2ef9aa8bc8e

See more details on using hashes here.

File details

Details for the file dpylint-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: dpylint-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for dpylint-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7e1483276b41d215ed05254ef5ea84071c96458fd0bdb56e3ffe3fdef8784eb1
MD5 9c74f0cba73ed5546abee38e6c51fbeb
BLAKE2b-256 7e6ae73f46facdb558c29100dc431d53ab963f0d5c4fbe318f4436cddc81b351

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page