for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
#!/usr/bin/python
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
class SomeClass: def some_method(self): """Do x and return foo."""
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.
# -*- coding: utf-8 -*-
from typing import Callable
class Constraint:
__class__
def __init__(self, value, cmp_func: Callable):
"""Initializing function
:param value:
:type cmp_func: Callable
"""
self.value = value
self.cmp_func = cmp_func
@staticmethod
def cmp_value_bigger(x, y):
x
(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.
y
return x > y
def cmp_value_bigger_or_equal(x, y):
return x >= y
def cmp_value_smaller(x, y):
return x < y
def cmp_value_smaller_or_equal(x, y):
return x <= y
def cmp_value_equals(x, y):
return x == y
def cmp_value_not_equals(x, y):
return x != y
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.