Skip to content

Comments

Stabilize some rules for v0.2.0 release#9712

Merged
charliermarsh merged 1 commit intorelease/0.2.0from
charlie/stabilize
Jan 30, 2024
Merged

Stabilize some rules for v0.2.0 release#9712
charliermarsh merged 1 commit intorelease/0.2.0from
charlie/stabilize

Conversation

@charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Jan 30, 2024

Summary

This PR stabilizes the preview rules from:

  • flake8-trio (6 rules)
  • flake8-quotes (1 rule)
  • pyupgrade (1 rule)
  • flake8-pyi (1 rule)
  • flake8-simplify (2 rules)
  • flake8-bandit (9 rules; 14 remain in preview)
  • flake8-type-checking (1 rule)
  • numpy (1 rule)
  • ruff (4 rules, one elevated from nursery; 6 remain in preview as they were added within the last 30 days)
  • flake8-logging (4 rules)

I see these are largely uncontroversial.

@charliermarsh
Copy link
Member Author

Draft, I need to remove stabilization for some of the rules based on when they were added.

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 30, 2024

CodSpeed Performance Report

Merging #9712 will degrade performances by 9.28%

Comparing charlie/stabilize (a7476a8) with release/0.2.0 (761e148)

Summary

❌ 4 regressions
✅ 26 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark release/0.2.0 charlie/stabilize Change
linter/all-rules[unicode/pypinyin.py] 12.3 ms 12.8 ms -4.19%
linter/all-rules[pydantic/types.py] 47.2 ms 50.8 ms -6.98%
linter/all-rules[large/dataset.py] 100.6 ms 110.9 ms -9.28%
linter/all-rules[numpy/ctypeslib.py] 23.1 ms 24.3 ms -5%

@charliermarsh charliermarsh force-pushed the charlie/stabilize branch 3 times, most recently from 1f990d1 to 980ae5e Compare January 30, 2024 18:22
@charliermarsh charliermarsh requested a review from zanieb January 30, 2024 18:23
@charliermarsh charliermarsh marked this pull request as ready for review January 30, 2024 18:23
@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Jan 30, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) January 30, 2024 18:58
@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check encountered linter errors. (no lint changes; 43 project errors)

DisnakeDev/disnake (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

PostHog/HouseWatch (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

RasaHQ/rasa (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

Snowflake-Labs/snowcli (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

aiven/aiven-client (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

alteryx/featuretools (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

apache/airflow (error)

ruff check --no-cache --exit-zero --output-format concise --no-preview --select ALL

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

aws/aws-sam-cli (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

bloomberg/pytest-memray (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

bokeh/bokeh (error)

ruff check --no-cache --exit-zero --output-format concise --no-preview --select ALL

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

commaai/openpilot (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

demisto/content (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

docker/docker-py (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

freedomofpress/securedrop (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

fronzbot/blinkpy (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

ibis-project/ibis (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

ing-bank/probatus (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

jrnl-org/jrnl (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

latchbio/latch (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

lnbits/lnbits (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

milvus-io/pymilvus (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

mlflow/mlflow (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

model-bakers/model_bakery (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pandas-dev/pandas (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

prefecthq/prefect (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/build (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/cibuildwheel (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/pip (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/setuptools (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

python/mypy (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

python/typeshed (error)

ruff check --no-cache --exit-zero --output-format concise --no-preview --select PYI

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

python-poetry/poetry (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

reflex-dev/reflex (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

rotki/rotki (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

scikit-build/scikit-build (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

scikit-build/scikit-build-core (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

sphinx-doc/sphinx (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

spruceid/siwe-py (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

tiangolo/fastapi (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

yandex/ch-backup (error)

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

zulip/zulip (error)

ruff check --no-cache --exit-zero --output-format concise --no-preview --select ALL

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

zanieb/huggingface-notebooks (error)

ruff check --no-cache --exit-zero --output-format concise --no-preview --select A,E703,F704,B015,B018,D100

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

openai/openai-cookbook (error)

ruff check --no-cache --exit-zero --output-format concise --no-preview --select A,E703,F704,B015,B018,D100

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

Linter (preview)

ℹ️ ecosystem check encountered linter errors. (no lint changes; 43 project errors)

DisnakeDev/disnake (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

PostHog/HouseWatch (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

RasaHQ/rasa (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

Snowflake-Labs/snowcli (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

aiven/aiven-client (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

alteryx/featuretools (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

apache/airflow (error)

ruff check --no-cache --exit-zero --output-format concise --preview --select ALL

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

aws/aws-sam-cli (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

bloomberg/pytest-memray (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

bokeh/bokeh (error)

ruff check --no-cache --exit-zero --output-format concise --preview --select ALL

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

commaai/openpilot (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

demisto/content (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

docker/docker-py (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

freedomofpress/securedrop (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

fronzbot/blinkpy (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

ibis-project/ibis (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

ing-bank/probatus (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

jrnl-org/jrnl (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

latchbio/latch (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

lnbits/lnbits (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

milvus-io/pymilvus (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

mlflow/mlflow (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

model-bakers/model_bakery (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pandas-dev/pandas (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

prefecthq/prefect (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/build (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/cibuildwheel (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/pip (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

pypa/setuptools (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

python/mypy (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

python/typeshed (error)

ruff check --no-cache --exit-zero --output-format concise --preview --select PYI

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

python-poetry/poetry (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

reflex-dev/reflex (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

rotki/rotki (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

scikit-build/scikit-build (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

scikit-build/scikit-build-core (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

sphinx-doc/sphinx (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

spruceid/siwe-py (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

tiangolo/fastapi (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

yandex/ch-backup (error)

ruff check --no-cache --exit-zero --output-format concise --preview

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

zulip/zulip (error)

ruff check --no-cache --exit-zero --output-format concise --preview --select ALL

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

zanieb/huggingface-notebooks (error)

ruff check --no-cache --exit-zero --output-format concise --preview --select A,E703,F704,B015,B018,D100

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

openai/openai-cookbook (error)

ruff check --no-cache --exit-zero --output-format concise --preview --select A,E703,F704,B015,B018,D100

error: invalid value 'concise' for '--output-format <OUTPUT_FORMAT>'
  [possible values: text, json, json-lines, junit, grouped, github, gitlab, pylint, azure, sarif]

For more information, try '--help'.

@charliermarsh charliermarsh merged commit 435d025 into release/0.2.0 Jan 30, 2024
@charliermarsh charliermarsh deleted the charlie/stabilize branch January 30, 2024 19:12
@zanieb zanieb mentioned this pull request Jan 30, 2024
@charliermarsh charliermarsh added this to the v0.2.0 milestone Jan 31, 2024
zanieb pushed a commit that referenced this pull request Feb 1, 2024
## Summary

This PR stabilizes the preview rules from:

- `flake8-trio` (6 rules)
- `flake8-quotes` (1 rule)
- `pyupgrade` (1 rule)
- `flake8-pyi` (1 rule)
- `flake8-simplify` (2 rules)
- `flake8-bandit` (9 rules; 14 remain in preview)
- `flake8-type-checking` (1 rule)
- `numpy` (1 rule)
- `ruff` (4 rules, one elevated from nursery; 6 remain in preview as
they were added within the last 30 days)
- `flake8-logging` (4 rules)

I see these are largely uncontroversial.
zanieb pushed a commit that referenced this pull request Feb 1, 2024
## Summary

This PR stabilizes the preview rules from:

- `flake8-trio` (6 rules)
- `flake8-quotes` (1 rule)
- `pyupgrade` (1 rule)
- `flake8-pyi` (1 rule)
- `flake8-simplify` (2 rules)
- `flake8-bandit` (9 rules; 14 remain in preview)
- `flake8-type-checking` (1 rule)
- `numpy` (1 rule)
- `ruff` (4 rules, one elevated from nursery; 6 remain in preview as
they were added within the last 30 days)
- `flake8-logging` (4 rules)

I see these are largely uncontroversial.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant