Skip to content

Commit

Permalink
Merge pull request #37 from fair-software/gitlab-error
Browse files Browse the repository at this point in the history
Gitlab error
  • Loading branch information
jspaaks authored Sep 13, 2020
2 parents 02f6cd0 + fb24241 commit 2d9265a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/fair-software/howfairis"
title: howfairis
version: "0.9.0"
version: "0.9.1"
...
2 changes: 1 addition & 1 deletion howfairis/HowFairIsChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _deconstruct_url(self):
self.platform = Platform.GITLAB
self.raw_url_format_string = "https://gitlab.com/{0}/{1}/-/raw/{2}{3}/{4}"
try:
self.owner, self.repo = self.url.replace("https://github.com", "").strip("/").split("/")[:2]
self.owner, self.repo = self.url.replace("https://gitlab.com", "").strip("/").split("/")[:2]
except ValueError as e:
raise ValueError("Bad value for input argument URL.") from e

Expand Down
2 changes: 1 addition & 1 deletion howfairis/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.0"
__version__ = "0.9.1"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.0
current_version = 0.9.1

[bumpversion:file:howfairis/__version__.py]
search = __version__ = "{current_version}"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
entry_points={
"console_scripts": ["howfairis=howfairis.cli:cli"],
},
version="0.9.0",
version="0.9.1",
description="Python package to analyze compliance with fair-software.eu recommendations",
long_description=readme + "\n\n",
author="https://github.com/jspaaks",
Expand Down

0 comments on commit 2d9265a

Please sign in to comment.