Re-export ruff_python_semantic members (#5094)

## Summary

This PR adds a more unified public API to `ruff_python_semantic`, so
that we don't need to do deeply nested imports all over the place.
This commit is contained in:
Charlie Marsh 2023-06-14 14:23:38 -04:00 committed by GitHub
parent a33bbe6335
commit 86ff1febea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 129 additions and 146 deletions

View file

@ -2,7 +2,7 @@
use rustpython_parser::ast::{self, Constant, Expr, Stmt};
use ruff_python_semantic::definition::{Definition, DefinitionId, Definitions, Member, MemberKind};
use ruff_python_semantic::{Definition, DefinitionId, Definitions, Member, MemberKind};
/// Extract a docstring from a function or class body.
pub(crate) fn docstring_from(suite: &[Stmt]) -> Option<&Expr> {