ChEB-AI / python-chebai

GNU Affero General Public License v3.0
12 stars 4 forks source link

pyyaml instead of yaml, union instead of pipe #31

Closed schnamo closed 5 months ago

schnamo commented 5 months ago

replacing pipe with Union for backward compatibility before Python 3.10, and use PyPI project name 'pyyaml' to install the yaml module used to handle YAML files

sfluegel05 commented 5 months ago

Thanks for noticing and fixing the yaml dependency and the compatibility issues.

The checks failed for your commit because the black formatter is run for each commit automatically. The easiest way to fix this is to run black before each commit using pre-commit. To install, run these commands for your repository: pip install pre-commit pre-commit install Then the same checks that run on GitHub should also run on your machine automatically before each commit.