Skip to content

Commit

Permalink
[IMP] checklog-odoo - no need for cli folder
Browse files Browse the repository at this point in the history
  • Loading branch information
baimont committed Oct 13, 2023
1 parent 9524152 commit 07aff93
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Issues = "https://github.com/unknown/checklog-odoo/issues"
Source = "https://github.com/unknown/checklog-odoo"

[project.scripts]
checklog-odoo = "checklog_odoo.cli.checklog:checklog_odoo"
checklog-odoo = "checklog_odoo.checklog:checklog_odoo"

[tool.hatch.version]
source = "vcs"
Expand Down
2 changes: 2 additions & 0 deletions src/checklog_odoo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2023-present ACSONE <https://acsone.eu>
#
# SPDX-License-Identifier: MIT

from . import checklog
2 changes: 1 addition & 1 deletion src/checklog_odoo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
import sys

if __name__ == "__main__":
from checklog_odoo.cli.checklog import checklog_odoo
from checklog_odoo.checklog import checklog_odoo

sys.exit(checklog_odoo())
File renamed without changes.
6 changes: 0 additions & 6 deletions src/checklog_odoo/cli/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_checklog.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from click.testing import CliRunner

from checklog_odoo.cli.checklog import checklog_odoo
from checklog_odoo.checklog import checklog_odoo

DATA_DIR = os.path.join(os.path.dirname(__file__), "data")

Expand Down

0 comments on commit 07aff93

Please sign in to comment.