diff --git a/flake.nix b/flake.nix index 43e1cc7b0..d686d39f3 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/nemo-python/pyproject.toml b/nemo-python/pyproject.toml index 62e874c7a..aba434309 100644 --- a/nemo-python/pyproject.toml +++ b/nemo-python/pyproject.toml @@ -16,4 +16,4 @@ classifiers = [ features = ["pyo3/extension-module"] [tool.black] -line-length = 79 +line-length = 90 diff --git a/nemo-python/setup.cfg b/nemo-python/setup.cfg new file mode 100644 index 000000000..970944103 --- /dev/null +++ b/nemo-python/setup.cfg @@ -0,0 +1,2 @@ +[pycodestyle] +max-line-length = 90