Skip to content

Commit 7c4a2b5

Browse files
authored
Merge pull request #167 from plone/weblate
Don't check user agreement for weblate user
2 parents ae201dc + 624948e commit 7c4a2b5

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
repos:
22
- repo: https://github.com/asottile/pyupgrade
3-
rev: v3.3.1
3+
rev: v3.19.1
44
hooks:
55
- id: pyupgrade
66
args: [--py311-plus]
77
- repo: https://github.com/pycqa/isort
8-
rev: 5.12.0
8+
rev: 6.0.1
99
hooks:
1010
- id: isort
1111
- repo: https://github.com/psf/black
12-
rev: 23.1.0
12+
rev: 25.1.0
1313
hooks:
1414
- id: black
1515
- repo: https://github.com/PyCQA/flake8
16-
rev: 6.0.0
16+
rev: 7.2.0
1717
hooks:
1818
- id: flake8
1919
- repo: https://github.com/codespell-project/codespell
20-
rev: v2.2.2
20+
rev: v2.4.1
2121
hooks:
2222
- id: codespell
2323
additional_dependencies:

src/mr.roboto/src/mr/roboto/subscriber.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"dependabot[bot]",
5757
"pre-commit-ci[bot]",
5858
"web-flow",
59+
"weblate",
5960
)
6061

6162
IGNORE_NO_TEST_NEEDED = (

src/mr.roboto/src/mr/roboto/tests/test_add_to_checkouts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
}
2929

3030
NO_PLONE_VERSION_PAYLOAD = copy.deepcopy(PAYLOAD)
31-
NO_PLONE_VERSION_PAYLOAD[
32-
"html_url"
33-
] = "https://github.com/plone/plone.uuid/pull/3" # noqa
31+
NO_PLONE_VERSION_PAYLOAD["html_url"] = (
32+
"https://github.com/plone/plone.uuid/pull/3" # noqa
33+
)
3434
NO_PLONE_VERSION_PAYLOAD["base"]["ref"] = "my-upstream-branch"
3535
NO_PLONE_VERSION_PAYLOAD["base"]["repo"]["name"] = "plone.uuid"
3636
NO_PLONE_VERSION_PAYLOAD["base"]["repo"]["full_name"] = "plone/plone.uuid"

src/mr.roboto/src/mr/roboto/tests/test_buildout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def tearDown(self):
5454

5555
def _commit(self, content="", filename="dummy"):
5656
dummy_file = os.path.join(self.coredev_repo.working_tree_dir, filename)
57-
with open(dummy_file, "w") as afile:
58-
afile.write(content)
57+
with open(dummy_file, "w") as a_file:
58+
a_file.write(content)
5959
self.coredev_repo.index.add([dummy_file])
6060
self.coredev_repo.index.commit("Random commit")
6161

0 commit comments

Comments
 (0)