[ADD] maintainer-tools to autopep8, flake8 and pylint-odoo
This commit is contained in:
parent
887f05da56
commit
fcd755b5b6
6 changed files with 31 additions and 0 deletions
13
.flake8
Normal file
13
.flake8
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
[flake8]
|
||||||
|
max-line-length = 80
|
||||||
|
max-complexity = 16
|
||||||
|
# B = bugbear
|
||||||
|
# B9 = bugbear opinionated (incl line length)
|
||||||
|
select = C,E,F,W,B,B9
|
||||||
|
# E203: whitespace before ':' (black behaviour)
|
||||||
|
# E501: flake8 line length (covered by bugbear B950)
|
||||||
|
# W503: line break before binary operator (black behaviour)
|
||||||
|
ignore = E203,E501,W503
|
||||||
|
exclude =
|
||||||
|
./.git
|
||||||
|
.eggs/
|
||||||
|
|
@ -75,6 +75,7 @@
|
||||||
<project name="interface-github.git" path="addons/OCA_interface-github" remote="OCA" groups="addons"/>
|
<project name="interface-github.git" path="addons/OCA_interface-github" remote="OCA" groups="addons"/>
|
||||||
<project name="knowledge.git" path="addons/OCA_knowledge" remote="OCA" groups="addons"/>
|
<project name="knowledge.git" path="addons/OCA_knowledge" remote="OCA" groups="addons"/>
|
||||||
<project name="l10n-canada.git" path="addons/OCA_l10n-canada" remote="OCA" groups="addons"/>
|
<project name="l10n-canada.git" path="addons/OCA_l10n-canada" remote="OCA" groups="addons"/>
|
||||||
|
<project name="maintainer-tools.git" path="script/OCA_maintainer-tools" remote="OCA" revision="master" groups="odoo,code_generator"/>
|
||||||
<project name="maintenance.git" path="addons/OCA_maintenance" remote="OCA" groups="addons"/>
|
<project name="maintenance.git" path="addons/OCA_maintenance" remote="OCA" groups="addons"/>
|
||||||
<project name="management-system.git" path="addons/OCA_management-system" remote="OCA" groups="addons"/>
|
<project name="management-system.git" path="addons/OCA_management-system" remote="OCA" groups="addons"/>
|
||||||
<project name="manufacture.git" path="addons/OCA_manufacture" remote="OCA" groups="addons"/>
|
<project name="manufacture.git" path="addons/OCA_manufacture" remote="OCA" groups="addons"/>
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,14 @@ voicent-python
|
||||||
python-swiftclient
|
python-swiftclient
|
||||||
python-keystoneclient
|
python-keystoneclient
|
||||||
|
|
||||||
|
# For logical test
|
||||||
|
docutils==0.16
|
||||||
|
flake8
|
||||||
|
pylint-odoo
|
||||||
|
git+https://github.com/oca/pylint-odoo.git#egg=pylint-odoo
|
||||||
|
# oca-maintainers-tools
|
||||||
|
# git+https://github.com/OCA/maintainer-tools.git#egg=oca-maintainers-tools
|
||||||
|
|
||||||
# For updating poetry
|
# For updating poetry
|
||||||
toml
|
toml
|
||||||
iscompatible
|
iscompatible
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,7 @@ if [[ ${EL_MINIMAL_ADDONS} = "False" ]]; then
|
||||||
printf "${EL_HOME}/doc/itpp-labs_odoo-port-docs," >> ${EL_CONFIG_FILE}
|
printf "${EL_HOME}/doc/itpp-labs_odoo-port-docs," >> ${EL_CONFIG_FILE}
|
||||||
printf "${EL_HOME}/doc/itpp-labs_odoo-test-docs," >> ${EL_CONFIG_FILE}
|
printf "${EL_HOME}/doc/itpp-labs_odoo-test-docs," >> ${EL_CONFIG_FILE}
|
||||||
printf "${EL_HOME}/doc/odoo_documentation-user," >> ${EL_CONFIG_FILE}
|
printf "${EL_HOME}/doc/odoo_documentation-user," >> ${EL_CONFIG_FILE}
|
||||||
|
printf "${EL_HOME}/script/OCA_maintainer-tools," >> ${EL_CONFIG_FILE}
|
||||||
printf "${EL_HOME}/script/OCA_odoo-module-migrator," >> ${EL_CONFIG_FILE}
|
printf "${EL_HOME}/script/OCA_odoo-module-migrator," >> ${EL_CONFIG_FILE}
|
||||||
fi
|
fi
|
||||||
printf "\n" >> ${EL_CONFIG_FILE}
|
printf "\n" >> ${EL_CONFIG_FILE}
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,10 @@
|
||||||
|
|
||||||
# Update git-repo
|
# Update git-repo
|
||||||
./script/update_manifest_local_dev.sh
|
./script/update_manifest_local_dev.sh
|
||||||
|
|
||||||
|
# Install maintainer-tools
|
||||||
|
cd script/OCA_maintainer-tools
|
||||||
|
virtualenv env
|
||||||
|
. env/bin/activate
|
||||||
|
python setup.py install
|
||||||
|
#${VENV_PATH}/bin/pip install ./script/OCA_maintainer-tools/
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,7 @@ https://github.com/itpp-labs/odoo-port-docs.git,doc,master,
|
||||||
https://github.com/itpp-labs/odoo-test-docs.git,doc,master,
|
https://github.com/itpp-labs/odoo-test-docs.git,doc,master,
|
||||||
https://github.com/odoo/documentation-user.git,doc,,
|
https://github.com/odoo/documentation-user.git,doc,,
|
||||||
https://github.com/OCA/odoo-module-migrator.git,script,master,
|
https://github.com/OCA/odoo-module-migrator.git,script,master,
|
||||||
|
https://github.com/OCA/maintainer-tools.git,script,master,
|
||||||
https://github.com/TechnoLibre/odoo-code-generator.git,addons,,
|
https://github.com/TechnoLibre/odoo-code-generator.git,addons,,
|
||||||
https://github.com/TechnoLibre/odoo-code-generator-template.git,addons,,
|
https://github.com/TechnoLibre/odoo-code-generator-template.git,addons,,
|
||||||
https://github.com/ERPLibre/ERPLibre_image_db.git,,,
|
https://github.com/ERPLibre/ERPLibre_image_db.git,,,
|
||||||
|
|
|
||||||
|
Loading…
Reference in a new issue