Add pylint, add init-file in access_controller folder to run pylint

This commit is contained in:
Степаненко Ольга
2021-04-27 12:10:29 +03:00
parent 68833ccdd5
commit bd8ba97a46
5 changed files with 10 additions and 8 deletions

View File

@@ -134,15 +134,12 @@ extensions = {
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_rtd_theme',
'sphinx.ext.graphviz',
'sphinx.ext.inheritance_diagram',
'sphinx_autodoc_typehints',
'sphinxcontrib.spelling',
# 'm2r'
}
@@ -193,7 +190,7 @@ autodoc_typehints = "description"
# spell checking
spelling_lang = 'ru_RU'
tokenizer_lang = 'ru_RU'
spelling_exclude_patterns=['ignored_*']
spelling_exclude_patterns=['ignored_*', '../../main/models.py']
spelling_show_suggestions = True
spelling_show_whole_line=True
spelling_warning=True
@@ -213,5 +210,5 @@ typehints_fully_qualified = True
always_document_param_types = True
typehints_document_rtype = True
napoleon_attr_annotations = True