Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py311-plus]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 6.0.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.2.0
hooks:
- id: flake8
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions src/mr.roboto/src/mr/roboto/subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"dependabot[bot]",
"pre-commit-ci[bot]",
"web-flow",
"weblate",
)

IGNORE_NO_TEST_NEEDED = (
Expand Down
6 changes: 3 additions & 3 deletions src/mr.roboto/src/mr/roboto/tests/test_add_to_checkouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
}

NO_PLONE_VERSION_PAYLOAD = copy.deepcopy(PAYLOAD)
NO_PLONE_VERSION_PAYLOAD[
"html_url"
] = "https://github.com/plone/plone.uuid/pull/3" # noqa
NO_PLONE_VERSION_PAYLOAD["html_url"] = (
"https://github.com/plone/plone.uuid/pull/3" # noqa
)
NO_PLONE_VERSION_PAYLOAD["base"]["ref"] = "my-upstream-branch"
NO_PLONE_VERSION_PAYLOAD["base"]["repo"]["name"] = "plone.uuid"
NO_PLONE_VERSION_PAYLOAD["base"]["repo"]["full_name"] = "plone/plone.uuid"
Expand Down
4 changes: 2 additions & 2 deletions src/mr.roboto/src/mr/roboto/tests/test_buildout.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def tearDown(self):

def _commit(self, content="", filename="dummy"):
dummy_file = os.path.join(self.coredev_repo.working_tree_dir, filename)
with open(dummy_file, "w") as afile:
afile.write(content)
with open(dummy_file, "w") as a_file:
a_file.write(content)
self.coredev_repo.index.add([dummy_file])
self.coredev_repo.index.commit("Random commit")

Expand Down