bwhmather / ssort

Tool for automatically sorting python statements within a module
MIT License
359 stars 10 forks source link

Python 3.11 #88

Closed cgahr closed 1 year ago

cgahr commented 1 year ago

add support for python 3.11, closes #83

cgahr commented 1 year ago

You are absolutely right, I missed that get_bindings has to be tested as well.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4876142025


Totals Coverage Status
Change from base Build 4834563066: 0.01%
Covered Lines: 1280
Relevant Lines: 1303

💛 - Coveralls
bwhmather commented 1 year ago

Pylint unhappy: https://github.com/bwhmather/ssort/actions/runs/4875780311/jobs/8698742453

cgahr commented 1 year ago

Pylint unhappy: https://github.com/bwhmather/ssort/actions/runs/4875780311/jobs/8698742453

Yes. It's due to ast.TryStar not existing. I think the easiest option is upgrading all linters to python 3.11.

bwhmather commented 1 year ago

I think the easiest option is upgrading all linters to python 3.11.

It looks like that's what we've done in the past. Works for me.