Skip to content

Commit

Permalink
[REF] connector_magento: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Apr 27, 2024
1 parent 8970fce commit dde3513
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 4 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,3 @@ repos:
args:
- --rcfile=.pylintrc-mandatory
additional_dependencies: *pylint_deps

2 changes: 1 addition & 1 deletion connector_magento/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"external_dependencies": {"python": ["magento"]},
"author": "Camptocamp,Akretion,Sodexis,Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "http://www.odoo-magento-connector.com",
"website": "https://github.com/OCA/connector-magento",
"images": [
"images/magento_backend.png",
"images/jobs.png",
Expand Down
1 change: 0 additions & 1 deletion connector_magento/components/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def _run(self):

def _after_export(self):
""" Can do several actions after exporting a record on magento """
pass


class MagentoExporter(AbstractComponent):
Expand Down
2 changes: 1 addition & 1 deletion connector_magento/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def add_path(*paths):

# General information about the project.
project = "Odoo Magento Connector"
copyright = "2013-2015, Odoo Community Association (OCA)"
copyright = "2013-2015, Odoo Community Association (OCA)" # pylint: disable=W0622

# The version info for the project you're documenting, acts as
# replacement for |version| and |release|, also used in various other
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# generated from manifests external_dependencies
magento
2 changes: 2 additions & 0 deletions setup/.setuptools-odoo-make-default-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# addons listed in this file are ignored by
# setuptools-odoo-make-default (one addon per line)
2 changes: 2 additions & 0 deletions setup/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
To learn more about this directory, please visit
https://pypi.python.org/pypi/setuptools-odoo
1 change: 1 addition & 0 deletions setup/connector_magento/odoo/addons/connector_magento
6 changes: 6 additions & 0 deletions setup/connector_magento/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit dde3513

Please sign in to comment.