Skip to content

build(deps-dev): update ruff requirement from <0.0.229 to <0.0.231 - #468

Merged
woodruffw merged 1 commit into
mainfrom
dependabot/pip/ruff-lt-0.0.231
Jan 23, 2023
Merged

woodruffw merged 1 commit into
mainfrom
dependabot/pip/ruff-lt-0.0.231

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 23, 2023

Copy link
Copy Markdown
Contributor

Updates the requirements on ruff to permit the latest version.

Release notes

Sourced from ruff's releases.

v0.0.230

What's Changed

New Contributors

Full Changelog: astral-sh/ruff@v0.0.229...v0.0.230

Changelog

Sourced from ruff's changelog.

Breaking Changes

0.0.226

misplaced-comparison-constant (PLC2201) was deprecated in favor of SIM300 (#1980)

These two rules contain (nearly) identical logic. To deduplicate the rule set, we've upgraded SIM300 to handle a few more cases, and deprecated PLC2201 in favor of SIM300.

0.0.225

@functools.cache rewrites have been moved to a standalone rule (UP033) (#1938)

Previously, UP011 handled both @functools.lru_cache()-to-@functools.lru_cache conversions, and @functools.lru_cache(maxsize=None)-to-@functools.cache conversions. The latter has been moved out to its own rule (UP033). As such, some # noqa: UP011 comments may need to be updated to reflect the change in rule code.

0.0.222

--max-complexity has been removed from the CLI (#1877)

The McCabe plugin's --max-complexity setting has been removed from the CLI, for consistency with the treatment of other, similar settings.

To set the maximum complexity, use the max-complexity property in your pyproject.toml file, like so:

[tool.ruff.mccabe]
max-complexity = 10

0.0.181

Files excluded by .gitignore are now ignored (#1234)

Ruff will now avoid checking files that are excluded by .ignore, .gitignore, .git/info/exclude, and global gitignore files. This behavior is powered by the ignore crate, and is applied in addition to Ruff's built-in exclude system.

To disable this behavior, set respect-gitignore = false in your pyproject.toml file.

Note that hidden files (i.e., files and directories prefixed with a .) are not ignored by default.

0.0.178

Configuration files are now resolved hierarchically (#1190)

... (truncated)

Commits
  • 23b6229 Bump version to 0.0.230
  • a7ce862 Update RustPython to fix Dict.keys type (#2086)
  • 36fb8f7 flake8_to_ruff: support isort options (#2082)
  • e11cf1b Update linters PyPI links to latest version (#2062)
  • 75e16c0 [pep8-naming][N806] Don't mark TypeVar & NewType Assignment as Errors...
  • 1beedf2 fix: add_rule.py for --linter ruff
  • 4758ee6 refactor: Generate Linter -> RuleSelector mapping via macro
  • c3dd1b0 refactor: Rename ParseCode trait to RuleNamespace
  • 87443e6 Support prefix "PL" to select all of Pylint
  • 16d2ceb refactor: Avoid unnecessary Map indexing
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 23, 2023
@woodruffw

Copy link
Copy Markdown
Member

/gcbrun

@woodruffw
woodruffw merged commit 0606761 into main Jan 23, 2023
@woodruffw
woodruffw deleted the dependabot/pip/ruff-lt-0.0.231 branch January 23, 2023 20:28
jleightcap pushed a commit that referenced this pull request Jan 31, 2023
)

Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.18...v0.0.230)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
jleightcap pushed a commit that referenced this pull request Jan 31, 2023
)

Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.18...v0.0.230)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Jack Leightcap <[email protected]>
emboman13 pushed a commit to emilejbm/sigstore-python that referenced this pull request Feb 2, 2023
…igstore#468)

Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.18...v0.0.230)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: emboman13 <[email protected]>
woodruffw added a commit that referenced this pull request Feb 14, 2023
* class prototype and script to find instances to change

* script added

* Set up newtype file with example newTypes

* added newtypes to _util.py

* renamed newtypes, added keyID

* deletion of old file

* added hexstr newtype and implemented newtypes for SigningResults

* added newtypes to verify/models.py

* renamed newtypes to follow standardized format

* moved newtypes into _util

* deleted newtypes.py

* Changed sign.py to use _utils and set up basic implementation in verifier

* build(deps-dev): update ruff requirement from <0.0.226 to <0.0.229 (#466)

Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.18...v0.0.228)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: emboman13 <[email protected]>

* build(deps-dev): update ruff requirement from <0.0.229 to <0.0.231 (#468)

Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.18...v0.0.230)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: emboman13 <[email protected]>

* build(deps-dev): update ruff requirement from <0.0.231 to <0.0.232 (#469)

Updates the requirements on [ruff](https://github.com/charliermarsh/ruff) to permit the latest version.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.18...v0.0.231)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: emboman13 <[email protected]>

* Initial Sigstore bundle support (#465)

* Initial Sigstore bundle support

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

* README: update `--help` texts

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

* sign: fix bundle generation

Certs are base64'd DER, not PEM, and the canonicalized_body
is the log entry body, not the canonicalized contents that
the SET is signed over.

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

* sign: remove TODO

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

* sign: update TODO

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

* _cli: Make `--bundle` refer to a path and create a `--no-bundle` flag
to control whether Sigstore bundles are emitted by default

Signed-off-by: Alex Cameron <[email protected]>

* _cli: Move variable to correct scope

Signed-off-by: Alex Cameron <[email protected]>

* _cli: Reword warnings for bundle flags

Signed-off-by: Alex Cameron <[email protected]>

* README: Fix sign example

Signed-off-by: Alex Cameron <[email protected]>

* README: Update verify invocations

Signed-off-by: Alex Cameron <[email protected]>

* README: Fix line breaks

Signed-off-by: Alex Cameron <[email protected]>

* _cli: fix sig output

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

* _cli: fix sig check, take 2

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

Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: Alex Cameron <[email protected]>
Co-authored-by: Alex Cameron <[email protected]>
Signed-off-by: emboman13 <[email protected]>

* CHANGELOG: record changes (#470)

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

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

* class prototype and script to find instances to change

Signed-off-by: emboman13 <[email protected]>

* script added

Signed-off-by: emboman13 <[email protected]>

* Set up newtype file with example newTypes

Signed-off-by: emboman13 <[email protected]>

* renamed newtypes, added keyID

Signed-off-by: emboman13 <[email protected]>

* deletion of old file

Signed-off-by: emboman13 <[email protected]>

* added hexstr newtype and implemented newtypes for SigningResults

Signed-off-by: emboman13 <[email protected]>

* added newtypes to _util.py

Signed-off-by: emboman13 <[email protected]>

* renamed newtypes to follow standardized format

Signed-off-by: emboman13 <[email protected]>

* added newtypes to verify/models.py

Signed-off-by: emboman13 <[email protected]>

* moved newtypes into _util

Signed-off-by: emboman13 <[email protected]>

* deleted newtypes.py

Signed-off-by: emboman13 <[email protected]>

* Changed sign.py to use _utils and set up basic implementation in verifier

Signed-off-by: emboman13 <[email protected]>

* added newtypes to sigstore/veriry/models.py

* updated newtypes in verify/models.py

Signed-off-by: omartounsi7 <[email protected]>

* Revert "updated newtypes in verify/models.py"

This reverts commit f767d7a.

* Encapsulation of NewTypes in my share of files

Creation of new type 'dercert' that masks DER encoded bytes. Focus
on changing types in files within sigstore/_internal/.  Reformat, lint
lint is successful. 103 Tests pass, 8 are skipped, 2 fail.

* Removed an incorrect b64str newtype in models.py

Signed-off-by: omartounsi7 <[email protected]>

* "added newtypes to _internal/rekor/client.py"

Signed-off-by: omartounsi7 <[email protected]>

* "fixed type errors in sign.py"

Signed-off-by: omartounsi7 <[email protected]>

* Added a b64str newtype in verify/models.py

Signed-off-by: omartounsi7 <[email protected]>

* added a b64str newtype in verify/verifier.py

Signed-off-by: omartounsi7 <[email protected]>

* added a b64str newtype to _internal/fulcio/client.py

Signed-off-by: omartounsi7 <[email protected]>

* added a b64str newtype in _internal/oidc/oauth.py

Signed-off-by: omartounsi7 <[email protected]>

* added a b64str newtype in _internal/rekor/client.py

Signed-off-by: omartounsi7 <[email protected]>

* deleted script

Signed-off-by: omartounsi7 <[email protected]>

* fixed some type errors

* changed keyid to KeyID

Signed-off-by: omartounsi7 <[email protected]>

* anged hexstr to HexStr

Signed-off-by: omartounsi7 <[email protected]>

* changed b64str to B64Str

Signed-off-by: omartounsi7 <[email protected]>

* changed pemcert to PEMCert

Signed-off-by: omartounsi7 <[email protected]>

* changed dercert to DERCert

Signed-off-by: omartounsi7 <[email protected]>

* added docstrings to newtypes in _utils.py

Signed-off-by: omartounsi7 <[email protected]>

* Update sigstore/_utils.py

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

* Update sigstore/_utils.py

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

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: emboman13 <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: Alex Cameron <[email protected]>
Signed-off-by: omartounsi7 <[email protected]>
Signed-off-by: omartounsi7 <[email protected]>
Co-authored-by: emboman13 <[email protected]>
Co-authored-by: omartounsi7 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William Woodruff <[email protected]>
Co-authored-by: Alex Cameron <[email protected]>
Co-authored-by: omartounsi7 <[email protected]>
Co-authored-by: William Woodruff <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant