Skip to content

Commit

Permalink
[break] Update to Repobee 3.0 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
tohanss authored Aug 24, 2020
1 parent 2110de7 commit 1cedbda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions repobee_sanitizer/sanitizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class SanitizeRepo(plug.Plugin, plug.cli.Command):
__required__=True,
)

def command(self, api) -> Optional[plug.Result]:
def command(self) -> Optional[plug.Result]:
repo_root = self.repo_root.absolute()
message = _sanitize_repo.check_repo_state(repo_root)
if message and not self.force:
Expand Down Expand Up @@ -107,7 +107,7 @@ class SanitizeFile(plug.Plugin, plug.cli.Command):
help="Instead of sanitizing, remove all sanitizer syntax from the file"
)

def command(self, api) -> Optional[plug.Result]:
def command(self) -> Optional[plug.Result]:
"""A callback function that runs the sanitization protocol on a given
file.
Expand Down
2 changes: 1 addition & 1 deletion requirements/app.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
repobee==3.0.0-alpha.5
repobee>=3.0.0-beta.1
gitpython==3.1.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
assert re.match(r"^\d+(\.\d+){2}(-(alpha|beta|rc)(\.\d+)?)?$", __version__)

test_requirements = ["pytest", "repobee", "pytest-cov"]
required = ["repobee==3.0.0-alpha.5", "gitpython"]
required = ["repobee>=3.0.0-beta.1", "gitpython"]

setup(
name="repobee-sanitizer",
Expand Down

0 comments on commit 1cedbda

Please sign in to comment.