Skip to main content

A Flake8 plugin that enforces YouCompleteMe and ycmd coding style

Project description

flake8-ycm

https://img.shields.io/travis/micbou/flake8-ycm.svg?label=Linux https://img.shields.io/appveyor/ci/micbou/flake8-ycm/master.svg?label=Windows https://img.shields.io/codecov/c/github/micbou/flake8-ycm/master.svg

A Flake8 plugin that enforces YouCompleteMe and ycmd coding style.

Rules

Code

Description

YCM111

indentation is not a multiple of two spaces

YCM112

expected an indented block of n spaces

YCM114

indentation is not a multiple of two spaces (comment)

YCM115

expected an indented block of n spaces (comment)

YCM201

exactly one space required after a left bracket

YCM202

exactly one space required before a right bracket

YCM204

no spaces between brackets for empty content

Release history

0.1.0 (2018-05-30)

  • Add YCM111, YCM112, YCM114, YCM115, YCM201, YCM202, and YCM204 rules.

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

flake8-ycm-0.1.0.tar.gz (7.2 kB view hashes)

Uploaded source

Built Distribution

flake8_ycm-0.1.0-py2.py3-none-any.whl (7.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page