v2ex / remote

Remote Worker
https://www.v2ex.com/go/dev
MIT License
80 stars 4 forks source link

Flake8 does not support some syntax in Python 3.10 #7

Closed luxiaba closed 2 years ago

luxiaba commented 2 years ago

should i remove match syntax or ignore it in flake8, or ci will always fail :(

livid commented 2 years ago

Or I should remove pre-commit.ci if it caused more problems.

My local pre-commit runs fine.

You can use it locally:

pip install pre-commit
pre-commit
pre-commit install

If we have the same local pre-commit config, then pre-commit.ci is not really necessary.

livid commented 2 years ago

I have removed pre-commit.ci

If needed, will try GitHub action in the near future.

luxiaba commented 2 years ago

My local’s pre-commit works fine too, seems pre-commit.ci maybe has some problems, going be me closed😃