Skip to content

Commit

Permalink
Update ruff requirement from 0.8.6 to 0.9.0 (#106)
Browse files Browse the repository at this point in the history
* Update ruff requirement from 0.8.6 to 0.9.0

Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.8.6...0.9.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Format with ruff 0.9

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stein Magnus Jodal <jodal@cardboard.inc>
  • Loading branch information
dependabot[bot] and jodal authored Jan 13, 2025
1 parent 6a21b3a commit e687bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mypy = "^1.11.1"
pyright = "1.1.391"

[tool.poetry.group.ruff.dependencies]
ruff = "0.8.6"
ruff = "0.9.0"

[tool.poetry.group.tests.dependencies]
coverage = { extras = ["toml"], version = "^7.4.1" }
Expand Down
3 changes: 1 addition & 2 deletions src/brreg/enhetsregisteret/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ def open(self) -> None:
base_url="https://data.brreg.no/enhetsregisteret/api",
headers={
"user-agent": (
f"python-brreg/{brreg.__version__} "
f"python-httpx/{httpx.__version__}"
f"python-brreg/{brreg.__version__} python-httpx/{httpx.__version__}"
),
},
)
Expand Down

0 comments on commit e687bf1

Please sign in to comment.