Skip to content

Commit c25513f

Browse files
committed
Run ruff
1 parent 9454cba commit c25513f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+46
-46
lines changed

bindings/python/src/cloudsmith_api/models/composer_upstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def name(self, name):
466466
name is not None and len(name) < 1):
467467
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
468468
if (self._configuration.client_side_validation and
469-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
469+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
470470
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
471471

472472
self._name = name

bindings/python/src/cloudsmith_api/models/composer_upstream_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def name(self, name):
390390
name is not None and len(name) < 1):
391391
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
392392
if (self._configuration.client_side_validation and
393-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
393+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
394394
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
395395

396396
self._name = name

bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def name(self, name):
390390
name is not None and len(name) < 1):
391391
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
392392
if (self._configuration.client_side_validation and
393-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
393+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
394394
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
395395

396396
self._name = name

bindings/python/src/cloudsmith_api/models/cran_upstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def name(self, name):
466466
name is not None and len(name) < 1):
467467
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
468468
if (self._configuration.client_side_validation and
469-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
469+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
470470
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
471471

472472
self._name = name

bindings/python/src/cloudsmith_api/models/cran_upstream_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def name(self, name):
390390
name is not None and len(name) < 1):
391391
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
392392
if (self._configuration.client_side_validation and
393-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
393+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
394394
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
395395

396396
self._name = name

bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def name(self, name):
390390
name is not None and len(name) < 1):
391391
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
392392
if (self._configuration.client_side_validation and
393-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
393+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
394394
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
395395

396396
self._name = name

bindings/python/src/cloudsmith_api/models/dart_upstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def name(self, name):
466466
name is not None and len(name) < 1):
467467
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
468468
if (self._configuration.client_side_validation and
469-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
469+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
470470
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
471471

472472
self._name = name

bindings/python/src/cloudsmith_api/models/dart_upstream_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def name(self, name):
390390
name is not None and len(name) < 1):
391391
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
392392
if (self._configuration.client_side_validation and
393-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
393+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
394394
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
395395

396396
self._name = name

bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def name(self, name):
390390
name is not None and len(name) < 1):
391391
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
392392
if (self._configuration.client_side_validation and
393-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
393+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
394394
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
395395

396396
self._name = name

bindings/python/src/cloudsmith_api/models/deb_upstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def name(self, name):
661661
name is not None and len(name) < 1):
662662
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
663663
if (self._configuration.client_side_validation and
664-
name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501
664+
name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501
665665
raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501
666666

667667
self._name = name

0 commit comments

Comments
 (0)