Skip to content

Commit 5c66742

Browse files
committed
Lint
1 parent f7c73bd commit 5c66742

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2018-2023 Polyaxon, Inc.
189+
Copyright 2018-2026 Polyaxon authors
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

cli/polyaxon/pkg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
SCHEMA_VERSION = 1.1
44
DESC = "Command Line Interface (CLI) and client to interact with Polyaxon API."
55
URL = "https://github.com/polyaxon/polyaxon"
6-
AUTHOR = "Polyaxon, Inc."
6+
AUTHOR = "Polyaxon authors"
77
EMAIL = "contact@polyaxon.com"
88
LICENSE = "Apache 2.0"

cli/ruff.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
line-length = 88
22
exclude = ["_vendor", "tuners"]
33

4+
[lint]
5+
select = ["E4", "E7", "E9", "F", "I"]
6+
47
[lint.isort]
5-
known-first-party = ["polyaxon", "traceml", "hypertune", "vents"]
6-
known-third-party = ["rest_framework", "scipy", "sklearn", "datadog", "docker", "corsheaders", "celery", "picklefield", "sentry_sdk", "orjson", "pydantic", "clipped"]
8+
known-first-party = ["polyaxon", "traceml", "hypertune", "vents", "clipped"]
9+
known-third-party = ["celery", "corsheaders", "datadog", "docker", "orjson", "picklefield", "pydantic", "rest_framework", "scipy", "sentry_sdk", "sklearn"]
710
extra-standard-library = ["typing", "typing_extensions", "mock", "pytest", "factory", "faker", "flaky", "numpy", "pandas", "requests", "websocket", "jinja2", "yaml", "pytz"]
811
force-single-line = false
912
force-sort-within-sections = true
@@ -12,7 +15,6 @@ lines-after-imports = 2
1215
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
1316

1417
[lint.per-file-ignores]
15-
# Do not enforce usage and import order rules in init files
1618
"__init__.py" = ["E402", "F401", "F403", "I"]
1719
"polyaxon/types.py" = ["E402", "F401", "F403", "F405", "I"]
1820
"polyaxon/schemas.py" = ["E402", "F401", "F403", "F405", "I"]
@@ -23,4 +25,3 @@ section-order = ["future", "standard-library", "third-party", "first-party", "lo
2325
"polyaxon/polyaxonfile.py" = ["E402", "F401", "F403", "F405", "I"]
2426
"polyaxon/tracking/run.py" = ["E402", "F401", "F403", "F405", "I"]
2527
"polyaxon/tracking/contrib/scikit.py" = ["E402", "F401", "F403", "F405", "I"]
26-

0 commit comments

Comments
 (0)