Skip to content

Fix isort lint for starlette_tests.py#1183

Merged
basepi merged 1 commit into
elastic:masterfrom
basepi:fixup
Jul 6, 2021
Merged

Fix isort lint for starlette_tests.py#1183
basepi merged 1 commit into
elastic:masterfrom
basepi:fixup

Conversation

@basepi

@basepi basepi commented Jul 6, 2021

Copy link
Copy Markdown
Contributor

What does this pull request do?

Turns out we did have a lint error in #1174 -- not sure how it slipped through the tests run on the PR.

This fixes those lint errors, even though they're not erroring upstream because pre-commit only runs on changes. (Maybe we need to revisit that?)

For any who are interested, this is why the # isort:skip wasn't working. If we wanted to have the import os at the top we would have to use # isort:split.

Related issues

Fixes #1181

@basepi basepi requested a review from beniwohli July 6, 2021 17:45
@basepi basepi self-assigned this Jul 6, 2021
@ghost

ghost commented Jul 6, 2021

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-07-06T17:18:22.237+0000

  • Duration: 27 min 19 sec

  • Commit: e098a5b

Test stats 🧪

Test Results
Failed 0
Passed 9489
Skipped 8604
Total 18093

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 9489
Skipped 8604
Total 18093

@basepi basepi merged commit dfc4f1e into elastic:master Jul 6, 2021
beniwohli pushed a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky Test [Initializing / Sanity checks / isort – pre_commit.lint]

2 participants