ruff
Consider single element subscript expr for implicit optional
#5717
Merged

Commits
  • Move `TypingTarget` related logic out of rule file
    dhruvmanila committed 3 years ago
  • Check if `TypingTarget` can be resolved to `Any`
    dhruvmanila committed 3 years ago
  • Add `Unknown` type to keep `Any` separate
    dhruvmanila committed 3 years ago
  • Tests
    dhruvmanila committed 3 years ago
  • Explicit `Known` type, avoid flagging in case of failures
    dhruvmanila committed 3 years ago
  • Wrap the only expr in the vector instead of panic
    dhruvmanila committed 3 years ago
  • Remove bugfix code (results in false negatives)
    dhruvmanila committed 3 years ago
  • Temporarily disable `ANN401` in scripts
    dhruvmanila committed 3 years ago
  • Update implicit optional tests for coverage
    dhruvmanila committed 3 years ago
  • Account for one element subscript inside typing
    dhruvmanila committed 3 years ago
  • Increase max iteration in tests
    dhruvmanila committed 3 years ago
  • Avoid allocation while resolving slice value
    dhruvmanila committed 3 years ago
  • Revert "Temporarily disable `ANN401` in scripts"
    dhruvmanila committed 3 years ago
  • Merge branch 'main' into dhruv/implicit-optional-tests
    dhruvmanila committed 3 years ago
Loading