Skip to content

Commit

Permalink
Merge branch 'update/lint-dependencies' into update/test-dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <ff137@proton.me>
  • Loading branch information
ff137 committed May 15, 2024
2 parents f9d13bf + bade833 commit d29dc11
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 60 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
rev: v9.16.0
hooks:
- id: commitlint
stages: [commit-msg]
args: ["--config", ".commitlint.config.js"]
additional_dependencies: ['@commitlint/config-conventional']
- repo: https://github.com/psf/black
# Ensure this is synced with pyproject.toml
rev: 24.4.0
rev: 24.4.2
hooks:
- id: black
stages: [commit]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ensure this is synced with pyproject.toml
rev: v0.1.2
rev: v0.4.4
hooks:
- id: ruff
stages: [commit]
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudagent/protocols/present_proof/dif/pres_exch.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class Meta:

@pre_load
def extract_info(self, data, **kwargs):
"""deserialize."""
"""Deserialize."""
new_data = {}
if isinstance(data, dict):
if "uri_groups" in data:
Expand Down
100 changes: 50 additions & 50 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ ursa-bbs-signatures= { version = "~1.0.1", optional = true }
python3-indy= { version = "^1.11.1", optional = true }

[tool.poetry.group.dev.dependencies]
pre-commit="~3.3.3"
pre-commit = "~3.7.0"
# Sync with version in .pre-commit-config.yaml
ruff = "0.1.2"
ruff = "0.4.4"
# Sync with version in .github/workflows/blackformat.yml
# Sync with version in .pre-commit-config.yaml
black="24.4.0"
black = "24.4.2"

sphinx="1.8.4"
sphinx-rtd-theme=">=0.4.3"
Expand Down Expand Up @@ -101,9 +101,9 @@ indy = [
aca-py = "aries_cloudagent.__main__:script_main"

[tool.ruff]
select = ["B006", "C", "D", "E", "F"]
lint.select = ["B006", "C", "D", "E", "F"]

ignore = [
lint.ignore = [
# Google Python Doc Style
"D203", "D204", "D213", "D215", "D400", "D401", "D404", "D406", "D407",
"D408", "D409", "D413",
Expand All @@ -117,7 +117,7 @@ include = ["aries_cloudagent/**/*.py"]

line-length = 90

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = ["B006", "D", "E501", "F841"]

[tool.pytest.ini_options]
Expand Down

0 comments on commit d29dc11

Please sign in to comment.