Skip to main content

Yet another styleguide.

Project description

yastyleguide

Yet another styleguide

Install

poetry add -D yastyleguide
pip install yastyleguide

Nitpick styleguide

You can use base settings for linters with nitpick:

[tool.nitpick]
style = "https://raw.githubusercontent.com/levkovalenko/yastyleguide-styles/master/nitpick-yastyle.toml"

Running

It's just plugin flake8, so:

flake8 .

Violations

Our own codes:

Code Description
YAS101 Don't use any 'for' loops.
YAS102 Don't use any 'while' loops.
YAS201 Line is to complex, {0} > {1}. To many ast nodes per line.

temporary disabled |YAS202|To big median line complexity in module, {0} > {1}.| |YAS203|To many lines per module, {0} > {1}.| |YAS204|To many function definitions per module, {0} > {1}.| |YAS205|To many class definitions per module, {0} > {1}.|

You can read about external plugins violations at /docs/eng/plugin_list.md

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

yastyleguide-0.2.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

yastyleguide-0.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file yastyleguide-0.2.0.tar.gz.

File metadata

  • Download URL: yastyleguide-0.2.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.4.109+

File hashes

Hashes for yastyleguide-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b1bed544b1b47caae865d5d0ff0bacafbf44349e14bef817892029352e248b1a
MD5 562e3d9d71bc5721c10ff0d32bb037f8
BLAKE2b-256 a31796ef6412c66907696032b5aec3ac572bf91e3f3f9547c9367360e59017ba

See more details on using hashes here.

File details

Details for the file yastyleguide-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: yastyleguide-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.4.109+

File hashes

Hashes for yastyleguide-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7da693e979ce87089801065f8e63b081a55e3e9fc944fa0df5e12cad67abf5c
MD5 4ba969fc28a49ee6c17846bc36c23037
BLAKE2b-256 ab35ecfdf03e3c9abb0e2fca69b234ac3357bbc31387bc43fef8bd18461c191f

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