pylintqmd
Project description
Package for running pylint on .qmd files.
Installation
You can install pylintqmd from PyPI:
pip install pylintqmd
Or, for local development:
pip install -e .
Usage
To lint current directory and sub-directories:
pylintqmd .
To lint file:
pylintqmd file.qmd
To lint all .qmd files in directory
pylintqmd folder
To keep temporary .py files for debugging when lint:
pylintqmd . -k
Dependencies
This package uses Flit for packaging and pytest for testing.
A requirements.txt file in this repository is provided for development purposes and contains:
flit
pylint
pytest
twine
-e .
To install development dependencies, run:
pip install -r requirements.txt
Updating the package
Make sure to update the version number.
To upload to PyPI using flit:
flit publish
To upload to PyPI or test PyPI using twine: remove any existing builds, then build the package locally and push with twine, entering the API token when prompted:
rm -rf dist/
flit build
twine upload --repository pypi dist/*
rm -rf dist/
flit build
twine upload --repository testpypi dist/*
Acknowledgements
Parts of this package were generated or adapted from code provided by Perplexity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylintqmd-0.1.0.tar.gz.
File metadata
- Download URL: pylintqmd-0.1.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
442aa60400aad72bd87dd736820118adcb5e8711aa0e3ab6605ef5c0820114e2
|
|
| MD5 |
66e273f9e0123aaab4c61ba41d6efdc7
|
|
| BLAKE2b-256 |
7410b8f20cd311ab51c71dc642315c18a599c87ae6fe9a86e84fc03c880b8039
|
File details
Details for the file pylintqmd-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: pylintqmd-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa1a15f4dc131b503e551f9d1251ca5967c751e305ea0a1a1a49d0259134181
|
|
| MD5 |
b125921e422372a5b10bea39804a5d35
|
|
| BLAKE2b-256 |
46f0ae1fdd4ace14e0468939ea88fc69acba3a6c03ebbaf98c18a23474e8ec27
|