for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
"""Tipos module."""
from . import CUATRIMESTRAL, MENSUAL, SEMESTRAL, TRIMESTRAL
def simple_interest_rate(rate, temp_mode=MENSUAL):
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.
return rate / temp_mode
def montly_simple_interest_rate(rate):
return simple_interest_rate(rate, MENSUAL)
def semestral_simple_interest_rate(rate):
return simple_interest_rate(rate, SEMESTRAL)
def cuatrimestral_simple_interest_rate(rate):
cuatrimestral_simple_interest_rate
(([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.
return simple_interest_rate(rate, CUATRIMESTRAL)
def trimestral_simple_interest_rate(rate):
return simple_interest_rate(rate, TRIMESTRAL)
def interes_anual_simple(rate, temp_mode):
return rate * temp_mode
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.