Skip to content
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

Move configurations to pyproject.toml, use ruff #754

Merged
merged 9 commits into from
Jul 13, 2023

Conversation

karpetrosyan
Copy link
Member

Issue: #751
Refs: encode/httpx#2648 encode/httpx#2680

Let's move all of our configurations to the pyproject.toml file so that we have a single file for our project metadata. I also added ruff as a dependency because flake8 does not support pyproject.toml.

scripts/check Show resolved Hide resolved
scripts/lint Show resolved Hide resolved
scripts/check Outdated Show resolved Hide resolved
@karpetrosyan
Copy link
Member Author

How did I break the coverage here? :-)

@karpetrosyan karpetrosyan requested a review from a team July 12, 2023 06:57
pyproject.toml Outdated Show resolved Hide resolved
Co-authored-by: Zanie <contact@zanie.dev>
Copy link
Sponsor Member

@Kludex Kludex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also removed autoflake in other encode projects, since it becomes redundant as well.

scripts/lint Outdated Show resolved Hide resolved
@karpetrosyan
Copy link
Member Author

@tomchristie , did we break anything? Why does this test fail while the branch is up to date?

@tomchristie
Copy link
Member

Why does this test fail while the branch is up to date?

Which test?

@Kludex
Copy link
Sponsor Member

Kludex commented Jul 13, 2023

Why does this test fail while the branch is up to date?

Which test?

It was a previous issue from click. Now it's solved.

@karpetrosyan
Copy link
Member Author

karpetrosyan commented Jul 13, 2023

@tomchristie check this job. Related to #755

@tomchristie tomchristie merged commit 0211d10 into encode:master Jul 13, 2023
5 checks passed
@karpetrosyan karpetrosyan deleted the migrate-to-toml branch July 13, 2023 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants