This package provides a Python client for the Vast.ai GPU rent service, that allows to list, create, destroy GPU instances programmaticaly, using Python.
Implement configuration options runtime-evaluated-decorators and runtime-evaluated-base-classes for flake8-type-checking by @sasanjac in charliermarsh/ruff#3292
multiple-statements-on-one-line-def (E704) was removed (#2773)
This rule was introduced in v0.0.245. However, it turns out that pycodestyle and Flake8 ignore this
rule by default, as it is not part of PEP 8. As such, we've removed it from Ruff.
Previously, Ruff exposed a check method as a public Rust API. This method was used by few,
if any clients, and was not well documented or supported. As such, it has been removed, with
the intention of adding a stable public API in the future.
0.0.238
select, extend-select, ignore, and extend-ignore have new semantics (#2312)
Previously, the interplay between select and its related options could lead to unexpected
behavior. For example, ruff --select E501 --ignore ALL and ruff --select E501 --extend-ignore ALL behaved differently. (See #2312 for more
examples.)
When Ruff determines the enabled rule set, it has to reconcile select and ignore from a variety
of sources, including the current pyproject.toml, any inherited pyproject.toml files, and the
CLI.
The new semantics are such that Ruff uses the "highest-priority" select as the basis for the rule
set, and then applies any extend-select, ignore, and extend-ignore adjustments. CLI options
are given higher priority than pyproject.toml options, and the current pyproject.toml file is
given higher priority than any inherited pyproject.toml files.
extend-select and extend-ignore are no longer given "top priority"; instead, they merely append
to the select and ignore lists, as in Flake8.
This change is largely backwards compatible -- most users should experience no change in behavior.
However, as an example of a breaking change, consider the following:
[tool.ruff]
ignore = ["F401"]
Running ruff --select F would previously have enabled all F rules, apart from F401. Now, it
will enable all F rules, including F401, as the command line's --select resets the resolution.
remove-six-compat (UP016) has been removed (#2332)
... (truncated)
Commits
e636c5f Avoid unused argument violations in .pyi files (#3533)
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)
Bumps ruff from 0.0.223 to 0.0.256.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
e636c5f
Avoid unused argument violations in .pyi files (#3533)12dfd57
Bump version to v0.0.256 (#3531)d188d24
Avoid tracking as-imports separately with force-single-line (#3530)57796c5
Add last remaining deprecated typing imports (#3529)2545869
Avoid PEP 604 isinstance errors for starred tuples (#3527)58353a4
Avoid PEP 604 panic with empty tuple (#3526)a36139a
Replicate inline comments when splitting single-line imports (#3521)7e90411
Fix PYI011 and add auto-fix (#3492)344daeb
Refine complexity rules for try-except-else-finally (#3519)432059d
Allow# ruff:
prefix for isort action comments (#3493)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)