editorconfig / editorconfig-gedit

EditorConfig plugin for Gedit
http://editorconfig.org
Other
54 stars 13 forks source link

update included editorconfig-core-py to support python3.11 #28

Open SimonHeimberg opened 1 year ago

SimonHeimberg commented 1 year ago

I got the error re.error: global flags not at the start of the expression at position 15

This is fixed by https://github.com/editorconfig/editorconfig-core-py/commit/6722ab5f04dbf1e64c577d7fe21a0454d495a3e4, which is included in v0.12.3

I fixed this locally by copying the changed lines linked above.

Global flags at the start of the expression were deprecated since python 3.6 and got invalid in python 3.11 (from https://github.com/Python-Markdown/markdown/issues/1312).

SimonHeimberg commented 1 year ago

I am also fine to have it as (up to date) submodule, as suggested in #17 And to tag a new version #26 is still a good idea.

xuhdev commented 1 year ago

Updated, please give it a try.

SimonHeimberg commented 1 year ago

Updated, please give it a try.

It works :champagne: :tada: Thanks And thank you for the hint in README.md. I never heard about subtree.