Skip to main content

A Pylint plugin to help Pylint understand the Pydantic

Project description

pylint-pydantic

A Pylint plugin to help Pylint understand the Pydantic

How to use

Installation

pip install pylint-pydantic

Use in console

pylint --load-plugins pylint_pydantic xxxxx

Use in vscode,settings.json add item

"python.linting.pylintArgs": ["--load-plugins pylint_pydantic"]

Tests

pylint --rcfile=pylintrc --load-plugins pylint_pydantic examples/base_model.py
------------------------------------
Your code has been rated at 10.00/10

Other

If you have any questions, please create a issue. https://github.com/fcfangcc/pylint-pydantic/issues

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pylint_pydantic-0.1.3-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file pylint_pydantic-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pylint_pydantic-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0

File hashes

Hashes for pylint_pydantic-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 56a0ae1469e00a8b5a1cdce7214cbfe136a4e4b1de09ff4c2be3370d4061483f
MD5 1f179d3fe7854fee46f0261313668873
BLAKE2b-256 c17c6d0ad8caf28435a0d9ced3f60fd437a204c70aae5d2271af347f3e68b0d7

See more details on using hashes here.

Provenance

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