aineko_style
A pylint checker for misc style conventions
We adopt the Google Python Style Guide with some modifications. This pylint checker is intended to enforce those conventions.
Installation
- Install with pip:
pip install aineko_style - Once installed you can either run it directly from the command line:
pylint --load-plugins=aineko_style.checker your_module.pyor add it to the pylint configuration file. Example:- pyproject.toml:
[tool.pylint.main] load-plugins = ["aineko_style.checker"]
- pylintrc:
[MAIN] load-plugins=aineko_style.checker
- pyproject.toml:
Features
Warning Messages
| Message ID | Description | Message symbol |
|---|---|---|
| C0001 | Docstring contains types. Types should be part of the function definition. | docstring-contains-types |
Style Conventions
C0001 docstring-contains-types
Yes:
def message(index:int, content:str):
"""short description
Args:
index: The index of the message.
content: The content of the message.
"""
...
No:
def message(index:int, content:str):
"""short description
Args:
index (int): The index of the message.
content (str): The content of the message.
"""
...
Metadata
Release files for aineko_style 0.0.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 | Provenance | |
|---|---|---|---|---|
| aineko_style-0.0.2.tar.gz | 11.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aineko_style-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.8 kB
Release files / aineko_style-0.0.2.tar.gz
| Download URL | aineko_style-0.0.2.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62dcd950d2b1819dffdc404d89174e486ebc79e16f46d82ec02ea94d124d0a29
|
|
BLAKE2b-256 checksum How to use checksums |
0e9e000a4de83c48e49b34792801a22a6d4613f7228d1585e0faedf326544f94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.5 Darwin/23.2.0
|
Release files / aineko_style-0.0.2-py3-none-any.whl
| Download URL | aineko_style-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c6d5d7681e3010c16ebb51d7e1aa659cc493cf4ea56b57dca28a09a0b5676cc
|
|
BLAKE2b-256 checksum How to use checksums |
2b4b7f55b607c9644b68528c84c67a56f1952fbf3ae43a7cafef8d6f5bf13e3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.5 Darwin/23.2.0
|
Security for aineko_style 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.