ruff
223a5b46 - Implement configuration options `runtime-evaluated-decorators` and `runtime-evaluated-baseclasses` for `flake8-type-checking`

Commit
2 years ago
Implement configuration options `runtime-evaluated-decorators` and `runtime-evaluated-baseclasses` for `flake8-type-checking` see #2195
Author
Committer
Parents
  • crates/ruff
    • resources/test/fixtures/flake8_type_checking
      • File
        runtime_evaluated_baseclasses_1.py
      • File
        runtime_evaluated_baseclasses_2.py
      • File
        runtime_evaluated_baseclasses_3.py
      • File
        runtime_evaluated_decorators_1.py
      • File
        runtime_evaluated_decorators_2.py
      • File
        runtime_evaluated_decorators_3.py
    • src
      • checkers
        • File
          ast.rs
      • rules/flake8_type_checking
        • File
          mod.rs
        • File
          settings.rs
        • snapshots
          • ruff__rules__flake8_type_checking__tests__runtime-import-in-type-checking-block_runtime_evaluated_baseclasses_1.py.snap
          • ruff__rules__flake8_type_checking__tests__runtime-import-in-type-checking-block_runtime_evaluated_decorators_1.py.snap
          • ruff__rules__flake8_type_checking__tests__typing-only-standard-library-import_runtime_evaluated_baseclasses_3.py.snap
          • ruff__rules__flake8_type_checking__tests__typing-only-standard-library-import_runtime_evaluated_decorators_3.py.snap
          • ruff__rules__flake8_type_checking__tests__typing-only-third-party-import_runtime_evaluated_baseclasses_2.py.snap
          • ruff__rules__flake8_type_checking__tests__typing-only-third-party-import_runtime_evaluated_decorators_2.py.snap
  • File
    ruff.schema.json