Skip to content

Commit

Permalink
Set max string length for ruff (#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni committed Jun 28, 2024
1 parent 0173c77 commit 5ba0c77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,7 @@ lines-between-types = 0

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.lint.pycodestyle]
max-doc-length = 100
max-line-length = 100
4 changes: 2 additions & 2 deletions tests/unit/sequential/test_par.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,8 @@ def test__fit_context_model_with_context_columns(self, gaussian_copula_mock):

@patch('sdv.sequential.par.PARSynthesizer.get_transformers')
def test_auto_assign_transformers_without_enforce_min_max(self, mock_get_transfomers):
"""Test to see if auto_assign_transformers does not add enforce_min_max_values if the transformer
does not contain it already
"""Test to see if auto_assign_transformers does not add enforce_min_max_values
if the transformer does not contain it already
"""
# Setup
datetime = pd.Series(
Expand Down

0 comments on commit 5ba0c77

Please sign in to comment.