Skip to content

Commit

Permalink
added black dependency and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoVellekoop committed Oct 1, 2024
1 parent 32c46de commit efd9b7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

# General

- PyCharm autoformatting should be enabled to ensure correct formatting.
- all .py files MUST be formatted with the 'black' autoformatter. This can be done by installing the 'black' package,
and running `black .` in the root directory. black is automatically installed when the development dependencies are
included.

# Tests

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ optional = true
scikit-image = ">=0.21.0"
pytest = "~7.0.0"
nidaq = "nidaqmx >=0.8.0" # we can test without the hardware, but still need the package
black = ">=24.0.0" # code formatter

[tool.poetry.group.docs]
optional = true
Expand Down

0 comments on commit efd9b7e

Please sign in to comment.