purple-plastic-57801
03/04/2023, 4:55 PM[GLOBAL]
pants_version = "2.15.0"
pants_ignore = [
"enclosure",
"observatory_api/*",
"teletom",
"third_party/*"
]
backend_packages = [
"pants.backend.python",
"pants.backend.python.lint.black",
]
[anonymous-telemetry]
enabled = false
[source]
root_patterns = [
"/teletom_shared/src"
]
[python]
interpreter_constraints = ["==3.11.*"]
enable_resolves = true
resolves = { python-default = "python-default.lock" }
pants roots
08:55:06.37 [INFO] Initializing scheduler...
08:55:06.84 [INFO] Scheduler initialized.
teletom_shared/src
When I run pants tailor ::
it generates the BUILD files, but none of the sources are there 🤔
Example
python_sources()
python_tests(
name="tests",
)
enough-analyst-54434
03/04/2023, 4:59 PMit generates the BUILD files, but none of the sources are thereYou mean this?:
python_sources()
purple-plastic-57801
03/04/2023, 5:00 PMenough-analyst-54434
03/04/2023, 5:00 PMpurple-plastic-57801
03/04/2023, 5:00 PMpurple-plastic-57801
03/04/2023, 5:00 PMenough-analyst-54434
03/04/2023, 5:00 PMpurple-plastic-57801
03/04/2023, 5:01 PMenough-analyst-54434
03/04/2023, 5:01 PMenough-analyst-54434
03/04/2023, 5:01 PMpurple-plastic-57801
03/04/2023, 5:03 PMenough-analyst-54434
03/04/2023, 5:03 PMpants dependencies some/file.py
purple-plastic-57801
03/04/2023, 5:03 PMpurple-plastic-57801
03/04/2023, 5:03 PMenough-analyst-54434
03/04/2023, 5:03 PMpurple-plastic-57801
03/04/2023, 5:03 PMenough-analyst-54434
03/04/2023, 5:04 PMpurple-plastic-57801
03/04/2023, 5:04 PMenough-analyst-54434
03/04/2023, 5:04 PMenough-analyst-54434
03/04/2023, 5:05 PMenough-analyst-54434
03/04/2023, 5:06 PMenough-analyst-54434
03/04/2023, 5:09 PMpurple-plastic-57801
03/04/2023, 5:11 PMhappy-kitchen-89482
03/04/2023, 10:11 PMpython_sources()
etc that as John mentioned exist for legacy reasons.