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 Python 2 Python 3

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