SalamLang / Salam

Salam Language: The inaugural coding language for Persian and Arabic speakers, inspired by the word salam meaning peace. With a user-friendly approach, it provides an accessible coding experience, promoting collaboration and simplicity for local developers.
https://www.salamlang.ir
GNU General Public License v3.0
8 stars 8 forks source link

Add `export PYTHONUTF8=1` var to env var of pre-commit and git hooks #296

Closed BaseMax closed 5 hours ago

BaseMax commented 5 hours ago

To fix problem of encoding for yaml files

BaseMax commented 5 hours ago

example https://github.com/pre-commit/pre-commit/issues/2367

BaseMax commented 5 hours ago

That's not cross-platform, some OSes just don't have env. IMO that should be added to pre-commit hook options

BaseMax commented 5 hours ago

Fixed https://github.com/SalamLang/Salam/commit/db7e870e233f9997e765ff00e7af91b515d6ef2a