Skip to main content

pylintqmd

Project description

pylintqmd

Code licence ORCID


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


Download files

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

Source Distribution

pylintqmd-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylintqmd-0.1.0-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2Python 3

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

Hashes for pylintqmd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 442aa60400aad72bd87dd736820118adcb5e8711aa0e3ab6605ef5c0820114e2
MD5 66e273f9e0123aaab4c61ba41d6efdc7
BLAKE2b-256 7410b8f20cd311ab51c71dc642315c18a599c87ae6fe9a86e84fc03c880b8039

See more details on using hashes here.

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

Hashes for pylintqmd-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 caa1a15f4dc131b503e551f9d1251ca5967c751e305ea0a1a1a49d0259134181
MD5 b125921e422372a5b10bea39804a5d35
BLAKE2b-256 46f0ae1fdd4ace14e0468939ea88fc69acba3a6c03ebbaf98c18a23474e8ec27

See more details on using hashes here.

Supported by

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