Skip to content

Commit 94ae319

Browse files
committed
Remove legacy pyfrc.config
1 parent 413ed1b commit 94ae319

File tree

4 files changed

+0
-28
lines changed

4 files changed

+0
-28
lines changed

docs/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
# Project must be built+installed to generate docs
1313
import pyfrc
14-
import pyfrc.config
15-
16-
pyfrc.config.config_obj["pyfrc"] = dict(game_specific_messages=[])
1714

1815
# -- RTD configuration ------------------------------------------------
1916

pyfrc/config.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

pyfrc/mains/cli_profiler.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ def run(self, options, robot_class, **static_options):
2424
print("profiling is not yet implemented for RobotPy 2020")
2525
return 1
2626

27-
from .. import config
28-
29-
config.mode = "profiler"
30-
3127
try:
3228
import cProfile
3329
except ImportError:

pyfrc/mains/cli_test.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ def __init__(self, parser=None):
5050
def run(self, options, robot_class, **static_options):
5151
# wrapper around run_test that sets the appropriate mode
5252

53-
from .. import config
54-
55-
config.mode = "test"
56-
config.coverage_mode = options.coverage_mode
57-
5853
return self.run_test(
5954
options.pytest_args, robot_class, options.builtin, **static_options
6055
)

0 commit comments

Comments
 (0)