Skip to content

Commit

Permalink
testing version in the __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haidaraM committed Mar 23, 2024
1 parent 2b699ee commit aa21c0c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions ansibleplaybookgrapher/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__version__ = "2.2.0.dev0"
__prog__ = "ansible-playbook-grapher"
2 changes: 1 addition & 1 deletion ansibleplaybookgrapher/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from ansible.utils.display import Display

from ansibleplaybookgrapher.grapher import Grapher
from ansibleplaybookgrapher.version import __prog__, __version__
from ansibleplaybookgrapher import __prog__, __version__
from ansibleplaybookgrapher.renderer import OPEN_PROTOCOL_HANDLERS
from ansibleplaybookgrapher.renderer.graphviz import GraphvizRenderer
from ansibleplaybookgrapher.renderer.mermaid import (
Expand Down
2 changes: 1 addition & 1 deletion ansibleplaybookgrapher/parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Mohamed El Mouctar HAIDARA
# Copyright (C) 2024 Mohamed El Mouctar HAIDARA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 0 additions & 2 deletions ansibleplaybookgrapher/version.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from setuptools import setup, find_packages

from ansibleplaybookgrapher.version import __version__, __prog__
from ansibleplaybookgrapher import __version__, __prog__


def read_requirements(path):
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest
from ansible.plugins.loader import init_plugin_loader

from ansibleplaybookgrapher.version import __prog__
from ansibleplaybookgrapher import __prog__
from ansibleplaybookgrapher.cli import PlaybookGrapherCLI
from tests import INVENTORY_FILE, FIXTURES_DIR

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from ansible.errors import AnsibleOptionsError
from ansible.release import __version__ as ansible_version

from ansibleplaybookgrapher.version import __prog__, __version__
from ansibleplaybookgrapher import __prog__, __version__
from ansibleplaybookgrapher.cli import PlaybookGrapherCLI


Expand Down
2 changes: 1 addition & 1 deletion tests/test_graphviz_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from pyquery import PyQuery

from ansibleplaybookgrapher.version import __prog__
from ansibleplaybookgrapher import __prog__
from ansibleplaybookgrapher.cli import PlaybookGrapherCLI
from tests import FIXTURES_DIR

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

import pytest

from ansibleplaybookgrapher.version import __prog__
from ansibleplaybookgrapher import __prog__
from ansibleplaybookgrapher.cli import PlaybookGrapherCLI
from tests import FIXTURES_DIR

Expand Down

0 comments on commit aa21c0c

Please sign in to comment.