File tree Expand file tree Collapse file tree 5 files changed +45
-42
lines changed
Expand file tree Collapse file tree 5 files changed +45
-42
lines changed Original file line number Diff line number Diff line change 2323Cargo.lock
2424tmp_test *
2525env /
26+ ** .egg-info
2627
2728
2829# Dependencies
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=42" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [tool .poetry ]
6+ name = " scala_test"
7+ version = " 0.0.1"
8+ description = " Rules to migrate 'scaletest'"
9+ # Add any other metadata you need
10+
11+ [tool .poetry .dependencies ]
12+ python = " ^3.9"
13+ polyglot_piranha = " *"
14+
15+ [tool .poetry .dev-dependencies ]
16+ pytest = " *"
17+
18+ # [tool.poetry.scripts]
19+ # scala_test = "scala_test.main:main"
20+
21+ [tool .poetry .scripts ."scala_test" ]
22+ main = " scala_test.main:main"
23+
24+ [tool .poetry .scripts ."pytest" ]
25+ main = " pytest"
Original file line number Diff line number Diff line change 1+ # ` scalatest ` Migration Plugin
2+
3+ ## Usage:
4+ ```
5+ python3 plugins/scala_test/main.py -h
6+ usage: main.py [-h] --path_to_codebase PATH_TO_CODEBASE
7+
8+ Migrates scala tests!!!
9+
10+ options:
11+ -h, --help show this help message and exit
12+ --path_to_codebase PATH_TO_CODEBASE
13+ Path to the codebase directory.
14+ ```
15+
16+ ## Test
17+ ```
18+ pytest plugins/scala_test
19+ ```
Original file line number Diff line number Diff line change 11import argparse
22from update_imports import update_imports
33
4-
5-
6-
74def _parse_args ():
85 parser = argparse .ArgumentParser (description = "Migrates scala tests!!!" )
96 parser .add_argument (
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments