Browse Source

[IMP] update dotfiles [ci skip]

14.0
oca-git-bot 4 years ago
parent
commit
82ddff717a
No known key found for this signature in database GPG Key ID: BCAB2555446B5B92
  1. 3
      .copier-answers.yml
  2. 17
      .pre-commit-config.yaml
  3. 2
      .prettierrc.yml
  4. 1
      .pylintrc
  5. 1
      .pylintrc-mandatory
  6. 2
      partner_contact_gender/__manifest__.py
  7. 2
      partner_contact_lang/__manifest__.py
  8. 2
      partner_phone_extension/__manifest__.py

3
.copier-answers.yml

@ -1,7 +1,8 @@
# Do NOT update manually; changes here will be overwritten by Copier # Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.0.2
_commit: v1.0.3
_src_path: gh:oca/oca-addons-repo-template _src_path: gh:oca/oca-addons-repo-template
dependency_installation_mode: PIP dependency_installation_mode: PIP
generate_requirements_txt: true
include_wkhtmltopdf: false include_wkhtmltopdf: false
odoo_version: 14.0 odoo_version: 14.0
rebel_module_groups: [] rebel_module_groups: []

17
.pre-commit-config.yaml

@ -26,10 +26,12 @@ repos:
language: fail language: fail
files: "\\.rej$" files: "\\.rej$"
- repo: https://github.com/oca/maintainer-tools - repo: https://github.com/oca/maintainer-tools
rev: 2c66e72
rev: 1b5c7ad
hooks: hooks:
# update the NOT INSTALLABLE ADDONS section above # update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons - id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/partner-contact"]
- repo: https://github.com/myint/autoflake - repo: https://github.com/myint/autoflake
rev: v1.4 rev: v1.4
hooks: hooks:
@ -39,12 +41,13 @@ repos:
rev: 20.8b1 rev: 20.8b1
hooks: hooks:
- id: black - id: black
- repo: https://github.com/prettier/prettier
rev: 2.1.2
- repo: https://github.com/prettier/pre-commit
rev: v2.1.2
hooks: hooks:
- id: prettier - id: prettier
name: prettier + plugin-xml name: prettier + plugin-xml
additional_dependencies: additional_dependencies:
- "prettier@2.1.2"
- "@prettier/plugin-xml@0.12.0" - "@prettier/plugin-xml@0.12.0"
args: args:
- --plugin=@prettier/plugin-xml - --plugin=@prettier/plugin-xml
@ -91,9 +94,15 @@ repos:
- --settings=. - --settings=.
exclude: /__init__\.py$ exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo - repo: https://github.com/acsone/setuptools-odoo
rev: 2.5.10
rev: 2.6.0
hooks: hooks:
- id: setuptools-odoo-make-default - id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements
args:
- --output
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://gitlab.com/PyCQA/flake8 - repo: https://gitlab.com/PyCQA/flake8
rev: 3.8.3 rev: 3.8.3
hooks: hooks:

2
.prettierrc.yml

@ -5,4 +5,4 @@ printWidth: 88
proseWrap: always proseWrap: always
semi: true semi: true
trailingComma: "es5" trailingComma: "es5"
xmlWhitespaceSensitivity: "ignore"
xmlWhitespaceSensitivity: "strict"

1
.pylintrc

@ -28,6 +28,7 @@ enable=anomalous-backslash-in-string,
class-camelcase, class-camelcase,
dangerous-default-value, dangerous-default-value,
dangerous-view-replace-wo-priority, dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv, duplicate-id-csv,
duplicate-key, duplicate-key,
duplicate-xml-fields, duplicate-xml-fields,

1
.pylintrc-mandatory

@ -21,6 +21,7 @@ enable=anomalous-backslash-in-string,
class-camelcase, class-camelcase,
dangerous-default-value, dangerous-default-value,
dangerous-view-replace-wo-priority, dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv, duplicate-id-csv,
duplicate-key, duplicate-key,
duplicate-xml-fields, duplicate-xml-fields,

2
partner_contact_gender/__manifest__.py

@ -6,7 +6,7 @@
"summary": "Add gender field to contacts", "summary": "Add gender field to contacts",
"version": "14.0.1.0.1", "version": "14.0.1.0.1",
"category": "Customer Relationship Management", "category": "Customer Relationship Management",
"website": "https://github.com/oca/partner-contact",
"website": "https://github.com/OCA/partner-contact",
"author": "Grupo ESOC, Tecnativa, Odoo Community Association (OCA)", "author": "Grupo ESOC, Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3", "license": "AGPL-3",
"application": False, "application": False,

2
partner_contact_lang/__manifest__.py

@ -9,7 +9,7 @@
"category": "Sales", "category": "Sales",
"license": "AGPL-3", "license": "AGPL-3",
"author": "Tecnativa, Odoo Community Association (OCA)", "author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/partner-contact/",
"website": "https://github.com/OCA/partner-contact",
"depends": ["base"], "depends": ["base"],
"data": ["views/res_partner_view.xml"], "data": ["views/res_partner_view.xml"],
"installable": True, "installable": True,

2
partner_phone_extension/__manifest__.py

@ -15,7 +15,7 @@
"Eficent, " "Eficent, "
"Serpent Consulting Services Pvt. Ltd., " "Serpent Consulting Services Pvt. Ltd., "
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",
"website": " https://github.com/OCA/partner-contact",
"website": "https://github.com/OCA/partner-contact",
"license": "AGPL-3", "license": "AGPL-3",
"depends": ["base"], "depends": ["base"],
"data": ["views/res_partner_view.xml"], "data": ["views/res_partner_view.xml"],

Loading…
Cancel
Save