Skip to content

Commit

Permalink
build(deps-dev): update ruff requirement from <0.2.3 to <0.3.1 (#218)
Browse files Browse the repository at this point in the history
* build(deps-dev): update ruff requirement from <0.2.3 to <0.3.1

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@v0.0.18...v0.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>

* `make reformat`

Signed-off-by: William Woodruff <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William Woodruff <[email protected]>
  • Loading branch information
dependabot[bot] and woodruffw authored Mar 4, 2024
1 parent a9c42d8 commit 493af59
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ dev: $(NEEDS_VENV)
lint: $(NEEDS_VENV)
. $(VENV_BIN)/activate && \
ruff format --check $(ALL_PY_SRCS) && \
ruff $(ALL_PY_SRCS) && \
ruff check $(ALL_PY_SRCS) && \
mypy $(PY_MODULE)

.PHONY: reformat
reformat: $(NEEDS_VENV)
. $(VENV_BIN)/activate && \
ruff --fix $(ALL_PY_SRCS) && \
ruff check --fix $(ALL_PY_SRCS) && \
ruff format $(ALL_PY_SRCS)

.PHONY: edit
Expand Down
1 change: 0 additions & 1 deletion limbo/testcases/cve.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Public CVE testcases.
"""


from cryptography import x509
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.asymmetric import ec
Expand Down
1 change: 0 additions & 1 deletion limbo/testcases/rfc5280/eku.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
RFC5280 Extended Key Usage (EKU) tests.
"""


from cryptography import x509

from limbo.assets import ext
Expand Down
1 change: 0 additions & 1 deletion limbo/testcases/rfc5280/san.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
RFC 5280 Subject Alternative Name (SAN) testcases.
"""


from cryptography import x509

from limbo.assets import ext
Expand Down
1 change: 0 additions & 1 deletion limbo/testcases/rfc5280/validity.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
RFC 5280 validity testcases.
"""


from datetime import datetime

from limbo.testcases._core import Builder, testcase
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ requires-python = ">=3.11"
lint = [
# NOTE: ruff is under active development, so we pin conservatively here
# and let Dependabot periodically perform this update.
"ruff < 0.2.3",
"ruff < 0.3.1",
"mypy >= 1.0",
"types-pyyaml",
"types-pyOpenSSL",
Expand Down

0 comments on commit 493af59

Please sign in to comment.