Merge branch 'feature/react_test' of https://gitlab.informatics.ru/2020-2021/online/s101/group-02/access_controller into feature/react_test

# Conflicts:
#	README.rst
This commit is contained in:
Yuriy Kulakov 2021-05-27 21:21:36 +03:00
commit 07057c8667
4 changed files with 19 additions and 9 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
# Created by https://www.toptal.com/developers/gitignore/api/django,pycharm+all,python,linux,macos,windows # Created by https://www.toptal.com/developers/gitignore/api/django,pycharm+all,python,linux,macos,windows
# Edit at https://www.toptal.com/developers/gitignore?templates=django,pycharm+all,python,linux,macos,windows # Edit at https://www.toptal.com/developers/gitignore?templates=django,pycharm+all,python,linux,macos,windows
README.rst
### Django ### ### Django ###
*.log *.log

View File

@ -37,7 +37,7 @@ limit-inference-results=100
# List of plugins (as comma separated values of python module names) to load, # List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers. # usually to register additional checkers.
load-plugins=pylint_django load-plugins=pylint_django
django-settings-module=access_controller_new.access_controller.settings django-settings-module=access_controller.settings
# Pickle collected data for later comparisons. # Pickle collected data for later comparisons.
persistent=yes persistent=yes

View File

@ -178,22 +178,24 @@ docker run -d -p 8000:8000 \
Пример полной конфигурации можно найти в [.env.example](.env.example). Почту и токен админа ZenDesk взять у руководителя (если вы не админ). Пример полной конфигурации можно найти в [.env.example](.env.example). Почту и токен админа ZenDesk взять у руководителя (если вы не админ).
## Для проверки pylint используем: ## Для проверки pylint используем:
pylint --django-settings-module=access_controller.access_controller.settings ../access_controller (каталог, где лежит проект) ```bash
pylint main
```
## Для приведения файлов к стандарту PEP8 используем: ## Для приведения файлов к стандарту PEP8 используем:
```bash
autopep8 --in-place filename autopep8 --in-place filename
```
##Для проверки орфографии: ##Для проверки орфографии:
```bash
cd docs cd docs
make spelling make spelling
```
##Для обновления документации: ##Для обновления документации:
m2r README.md ```bash
./documentation.sh
cd docs ```
make html
## Read more ## Read more
- Zenpy: [http://docs.facetoe.com.au](http://docs.facetoe.com.au) - Zenpy: [http://docs.facetoe.com.au](http://docs.facetoe.com.au)

7
documentation.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
m2r README.md
cd docs
make html
cd ..
rm README.rst