Skip to content

Commit

Permalink
Configure pycodestyle to avoid mismatching line lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarx committed Oct 20, 2023
1 parent 3f50268 commit b54358a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ rec {
cargo doc --workspace
pushd nemo-python
pycodestyle . --max-line-length 90
pycodestyle .
VENV="$(mktemp -d)"
python3 -m venv "''${VENV}"
# shellcheck disable=SC1091
Expand Down
2 changes: 1 addition & 1 deletion nemo-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ classifiers = [
features = ["pyo3/extension-module"]

[tool.black]
line-length = 79
line-length = 90
2 changes: 2 additions & 0 deletions nemo-python/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pycodestyle]
max-line-length = 90

0 comments on commit b54358a

Please sign in to comment.