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
# Edit at https://www.toptal.com/developers/gitignore?templates=django,pycharm+all,python,linux,macos,windows
README.rst
### Django ###
*.log

View File

@ -37,7 +37,7 @@ limit-inference-results=100
# List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers.
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.
persistent=yes

View File

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