bokeh / ipywidgets_bokeh

Allows embedding of Jupyter widgets in Bokeh applications.
BSD 3-Clause "New" or "Revised" License
24 stars 11 forks source link

Add pre-commit #82

Open ndmlny-qs opened 1 year ago

ndmlny-qs commented 1 year ago

This commit does not run pre-commit on the repo, it just adds it as a dev dependency, and adds the following checks.

Also, three additional files have been added.

These files contain the formatting and linting rules as outlined in Bokeh.

The last file is a project.toml file that for the time being only contains preferences for ruff. In the future we can use it for complying with setuptools installs.

The package*.json files have also been modified to include eslint and prettier, as well as updating the lint script from a TODO to an actual linting action. This helps with the requests in #75

Resolves #80

philippjfr commented 1 year ago

Happy to see this merged!