Commit Diff


commit - 3f289f0189fb4857cc9ac9b79be61bc3ba5abcb6
commit + 00cc6147c8d60a87b626f52cd846048fc4ab6130
blob - 827571b9b41886e68a340f19f564838394d2c5be
blob + 314ee7a29c4ac9574145fb8a317e3835705b8f9f
--- .copier-answers.yml
+++ .copier-answers.yml
@@ -1,5 +1,5 @@
 # Changes here will be overwritten by Copier
-_commit: v0.2.0
+_commit: v0.2.3
 _src_path: https://gitlab.softwareheritage.org/swh/devel/swh-py-template.git
 description: Software Heritage git loader
 distribution_name: swh-loader-git
blob - 9d458216bd8207d9dca53030c622dedb2e6a883f
blob + cf6989529ba743dd5661fa7fb18b4e7104122b7d
--- .pre-commit-config.yaml
+++ .pre-commit-config.yaml
@@ -1,29 +1,29 @@
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.4.0
+    rev: v4.6.0
     hooks:
       - id: trailing-whitespace
       - id: check-json
       - id: check-yaml
 
   - repo: https://github.com/python/black
-    rev: 23.1.0
+    rev: 24.8.0
     hooks:
       - id: black
 
   - repo: https://github.com/PyCQA/isort
-    rev: 5.12.0
+    rev: 5.13.2
     hooks:
       - id: isort
 
   - repo: https://github.com/pycqa/flake8
-    rev: 6.0.0
+    rev: 7.1.1
     hooks:
       - id: flake8
-        additional_dependencies: [flake8-bugbear==22.9.23]
+        additional_dependencies: [flake8-bugbear==24.4.26]
 
   - repo: https://github.com/codespell-project/codespell
-    rev: v2.2.2
+    rev: v2.3.0
     hooks:
       - id: codespell
         name: Check source code spelling
blob - 0ad22b51e38e1a3dc2792766db295fca2892142f
blob + 6e2dee929af68f2187dbdadc16fe2028fcfe9dfc
--- CODE_OF_CONDUCT.md
+++ CODE_OF_CONDUCT.md
@@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming env
 Heritage contributors and maintainers pledge to making participation in our
 project and our community a harassment-free experience for everyone, regardless
 of age, body size, disability, ethnicity, sex characteristics, gender identity
-and expression, level of experience, education, socio-economic status,
+and expression, level of experience, education, socioeconomic status,
 nationality, personal appearance, race, religion, or sexual identity and
 orientation.
 
blob - 98fd40595ad1cf33f008249327ee9fe891798376
blob + c3acccc2a979ea08a907995924e366ea753c0952
--- pyproject.toml
+++ pyproject.toml
@@ -45,7 +45,7 @@ build-backend = "setuptools.build_meta"
 fallback_version = "0.0.1"
 
 [tool.black]
-target-version = ['py37']
+target-version = ['py39', 'py310', 'py311', 'py312']
 
 [tool.isort]
 multi_line_output = 3
blob - 2c446b475ceea8a1105c2d161d12b40caa2a20b9
blob + adf9af3e48c7da13135e5dfb6505a1909bc26066
--- setup.cfg
+++ setup.cfg
@@ -4,5 +4,5 @@
 # E501: line too long, use B950 warning from flake8-bugbear instead
 # W503: line break before binary operator <https://github.com/psf/black/issues/52>
 select = C,E,F,W,B950
-ignore = E203,E231,E501,W503
+ignore = E203,E231,E501,E704,W503
 max-line-length = 88
blob - b8a415bd8956df21c6ab2f16252bc25283e41d65
blob + 1e9d9df6ea491ab3052fe7df6e7324e5df75a546
--- tox.ini
+++ tox.ini
@@ -22,16 +22,16 @@ commands =
 [testenv:black]
 skip_install = true
 deps =
-  black==23.1.0
+  black==24.8.0
 commands =
   {envpython} -m black --check swh
 
 [testenv:flake8]
 skip_install = true
 deps =
-  flake8==5.0.4
-  flake8-bugbear==22.9.23
-  pycodestyle==2.9.1
+  flake8==7.1.1
+  flake8-bugbear==24.4.26
+  pycodestyle==2.12.1
 commands =
   {envpython} -m flake8
 
@@ -39,7 +39,7 @@ commands =
 extras =
   testing
 deps =
-  mypy==1.8.0
+  mypy==1.11.1
 commands =
   mypy swh