-
Notifications
You must be signed in to change notification settings - Fork 43
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
chore: manual linting corrections to pass flake8 #85
Conversation
@@ -11,5 +11,3 @@ | |||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
from .app import EMBEDDING_MODEL_NAME, init_app, parse_config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was removed because linting, but this breaks the process because of current imports in run_app
@@ -11,5 +11,3 @@ | |||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on previous, at a guess this is what was meant? (Based on a similar pattern in src/retrieval_service/datastore/init.py, datastore/providers/init.py)
# limitations under the License. | |
# limitations under the License. | |
from .app import EMBEDDING_MODEL_NAME, init_app, parse_config | |
__ALL__ = [EMBEDDING_MODEL_NAME, init_app, parse_config] |
@@ -11,5 +11,3 @@ | |||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above, presumed import pattern to help with importing but also pass linting
# limitations under the License. | |
# limitations under the License. | |
from .models import Airport, Amenity, Flight, Ticket | |
__ALL__ = [Airport, Amenity, Flight, Ticket |
Major codebase drift, many conflicting files, closing. |
Black, manual "re-wrapping" on prompts, and other manual cleanup steps.
Not tested for functional equivelence.