An open API service indexing awesome lists of open source software.

https://github.com/micbou/flake8-ycm

A flake8 plugin that enforces YouCompleteMe and ycmd coding style
https://github.com/micbou/flake8-ycm

codestyle flake8 flake8-plugin ycmd youcompleteme

Last synced: 8 days ago
JSON representation

A flake8 plugin that enforces YouCompleteMe and ycmd coding style

Awesome Lists containing this project

README

          

==========
flake8-ycm
==========

.. image:: https://img.shields.io/pypi/v/flake8-ycm.svg
:target: https://pypi.org/project/flake8-ycm/

.. image:: https://img.shields.io/pypi/l/flake8-ycm.svg
:target: https://pypi.org/project/flake8-ycm/

.. image:: https://img.shields.io/pypi/pyversions/flake8-ycm.svg
:target: https://pypi.org/project/flake8-ycm/

.. image:: https://img.shields.io/travis/micbou/flake8-ycm.svg?label=Linux
:target: https://travis-ci.com/micbou/flake8-ycm

.. image:: https://img.shields.io/appveyor/ci/micbou/flake8-ycm/master.svg?label=Windows
:target: https://ci.appveyor.com/project/micbou/flake8-ycm

.. image:: https://img.shields.io/codecov/c/github/micbou/flake8-ycm/master.svg
:target: https://codecov.io/gh/micbou/flake8-ycm

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
====== ===========