MCPcopy
hub / github.com/scrapy/scrapy / run

Method run

scrapy/commands/version.py:29–36  ·  view source on GitHub ↗
(self, args: list[str], opts: argparse.Namespace)

Source from the content-addressed store, hash-verified

27 )
28
29 def run(self, args: list[str], opts: argparse.Namespace) -> None:
30 if opts.verbose:
31 versions = get_versions()
32 width = max(len(n) for (n, _) in versions)
33 for name, version in versions:
34 print(f"{name:<{width}} : {version}")
35 else:
36 print(f"Scrapy {scrapy.__version__}")

Callers

nothing calls this directly

Calls 1

get_versionsFunction · 0.90

Tested by

no test coverage detected