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

[pre-commit.ci] pre-commit autoupdate #1172

Closed
wants to merge 2 commits into from

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Jan 29, 2024

@jmeridth
Copy link
Contributor

@sigmavirus24 any chance we can get this PR merged (once that last import issue is addressed)? When I run tox locally, these changes are happening. I definitely prefer to have another PR merge to handle those instead of including in the one I'm working on. wdyt? Thank you for considering.

@sigmavirus24
Copy link
Owner

@jmeridth why would I merge something that breaks CI?

I suspect I need to move to isort from the reorder python imports despite how fast the latter is but I don't have the time to do that

@jmeridth
Copy link
Contributor

jmeridth commented Mar 18, 2024

once that last import issue is addressed.

😄 wasn't suggesting merging a breaking change.

Gotcha re: isort and time.

Will see what I can whip up for review.

@sigmavirus24
Copy link
Owner

Sorry missed the parenthetical 🤦 I need to stop looking at notifications on my phone before I have coffee

@jmeridth
Copy link
Contributor

I do it all the time. All good. I'm brewing coffee as I type this. 😄

Thank you for the response, nonetheless. Excited to help.

updates:
- [github.com/psf/black: 23.12.1 → 24.3.0](psf/black@23.12.1...24.3.0)
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.1](asottile/pyupgrade@v3.15.0...v3.15.1)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0)
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 8c1791c to c36217e Compare March 18, 2024 20:03
jmeridth added a commit to jmeridth/github3.py that referenced this pull request Mar 21, 2024
- [x] keep it simple with just `--profile black` argument

This is a premptive strike on sigmavirus24#1172 fix

Signed-off-by: jmeridth <jmeridth@gmail.com>
jmeridth added a commit to jmeridth/github3.py that referenced this pull request Mar 21, 2024
- [x] keep it simple with just `--profile black` argument
- [x] update pull_request_template when asking for python-dateutil version
  - some engineers don't know to prefix `dateutil` with `python-`

This is a premptive strike on sigmavirus24#1172 fix

Signed-off-by: jmeridth <jmeridth@gmail.com>
sigmavirus24 added a commit that referenced this pull request Mar 21, 2024
* chore: switch to isort from reorder python imports

- [x] keep it simple with just `--profile black` argument
- [x] update pull_request_template when asking for python-dateutil version
  - some engineers don't know to prefix `dateutil` with `python-`

This is a premptive strike on #1172 fix

Signed-off-by: jmeridth <jmeridth@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: add line-length to isort to match black

re-run black, hopefully get us to a non-conflict

Signed-off-by: jmeridth <jmeridth@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Use isort config to reduce churn

---------

Signed-off-by: jmeridth <jmeridth@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
@jmeridth
Copy link
Contributor

jmeridth commented Mar 21, 2024

@sigmavirus24 I did not do the upgrades. Only the isort move in #1173. I'm used to dependabot, so do we reopen and rebase or will pre-commit.ci do that for us in another PR?

jmeridth added a commit to jmeridth/github3.py that referenced this pull request Mar 21, 2024
Was originally in sigmavirus24#1172

Also:

- [x] remove safe option from pyproject black config
  - it is the default, so no need to state, stop config error notification
  - `fast` is the non-default option and works when added to config without
    error ([docs](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#fast-safe))
- [x] add venv to excluding directories (most devs set their virtualenv to venv or .venv)

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth mentioned this pull request Mar 21, 2024
2 tasks
sigmavirus24 pushed a commit that referenced this pull request Mar 21, 2024
* chore: hande upgrades

Was originally in #1172

Also:

- [x] remove safe option from pyproject black config
  - it is the default, so no need to state, stop config error notification
  - `fast` is the non-default option and works when added to config without
    error ([docs](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#fast-safe))
- [x] add venv to excluding directories (most devs set their virtualenv to venv or .venv)

Signed-off-by: jmeridth <jmeridth@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: jmeridth <jmeridth@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

2 participants