diff options
author | John L. Villalovos <john@sodarock.com> | 2022-01-15 08:31:00 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-01-15 08:31:00 -0800 |
commit | b981ce7fed88c5d86a3fffc4ee3f99be0b958c1d (patch) | |
tree | 9e8e41154f80a3408972cece6fc4328c8186e455 /gitlab/_version.py | |
parent | cbbe7ce61db0649be286c5c1a239e00ed86f8039 (diff) | |
download | gitlab-jlvillal/version_mv.tar.gz |
chore: rename `gitlab/__version__.py` -> `gitlab/_version.py`jlvillal/version_mv
It is confusing to have a `gitlab/__version__.py` because we also
create a variable `gitlab.__version__` which can conflict with
`gitlab/__version__.py`.
For example in `gitlab/const.py` we have to know that
`gitlab.__version__` is a module and not the variable due to the
ordering of imports. But in most other usage `gitlab.__version__` is a
version string.
To reduce confusion make the name of the version file
`gitlab/_version.py`.
Diffstat (limited to 'gitlab/_version.py')
-rw-r--r-- | gitlab/_version.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gitlab/_version.py b/gitlab/_version.py new file mode 100644 index 0000000..a1fb3cd --- /dev/null +++ b/gitlab/_version.py @@ -0,0 +1,6 @@ +__author__ = "Gauvain Pocentek, python-gitlab team" +__copyright__ = "Copyright 2013-2019 Gauvain Pocentek, 2019-2021 python-gitlab team" +__email__ = "gauvainpocentek@gmail.com" +__license__ = "LGPL3" +__title__ = "python-gitlab" +__version__ = "3.1.0" |