Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(🐞) Inspections aren't appearing #142

Closed
KotlinIsland opened this issue Apr 19, 2023 · 9 comments
Closed

(🐞) Inspections aren't appearing #142

KotlinIsland opened this issue Apr 19, 2023 · 9 comments

Comments

@KotlinIsland
Copy link
Contributor

KotlinIsland commented Apr 19, 2023

Describe the bug
No ruff inspections are appearing in PyCharm

To Reproduce

class A:
    def __init__(self):
        pass


def foo():
    """doc string"""
    f"hello!"
[tool.ruff]
extend-select = ["I", "UP", "PYI", "ANN"]

Screenshots
image

image

Environments (please complete the following information):

  • IDE: [e.g. PyCharm Community 2022.1 ] PC 2023.1.1 RC
  • OS: [e.g. macOS 12.2.0 ] Windows 10
  • Ruff Version [e.g. 1.9.0 ] 0.0.261
  • Plugin version [e.g. 0.3.11 ] 0.0.11
@koxudaxi
Copy link
Owner

koxudaxi commented Apr 19, 2023

@KotlinIsland
I just confirmed the problem.
The newest ruff changed the result json structure.
I will create the PR.
Thank you!!
スクリーンショット 2023-04-19 144029

@koxudaxi
Copy link
Owner

I find the changes in ruff.
The changes affect this plugin from ruff version 0.260
https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md#00260
astral-sh/ruff#3709

@pr1ntr
Copy link

pr1ntr commented Apr 19, 2023

Any word on when this will hit marketplace? :)

@KotlinIsland
Copy link
Contributor Author

KotlinIsland commented Apr 19, 2023

astral-sh/ruff#2046

This issue would resolve the problem.

@KotlinIsland
Copy link
Contributor Author

@koxudaxi Should this issue be closed?

@koxudaxi
Copy link
Owner

@pr1ntr

The review may take up to two business days (Monday - Friday, CET timezone, excluding official holidays).

https://plugins.jetbrains.com/plugin/20574-ruff/versions/stable/323102
you can download it from here.

@koxudaxi
Copy link
Owner

@KotlinIsland

This issue would resolve the problem.

It's Interesting!! I have not heard about the format.

@KotlinIsland
Copy link
Contributor Author

KotlinIsland commented Apr 20, 2023

Qodana uses it for it's baseline

https://www.jetbrains.com/help/qodana/qodana-baseline.html

@koxudaxi
Copy link
Owner

I just understood the format is for the results of linting tools.
Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants