Skip to content

Commit

Permalink
Remove legacy pyfrc.config
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Jan 2, 2024
1 parent 413ed1b commit 94ae319
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

# Project must be built+installed to generate docs
import pyfrc
import pyfrc.config

pyfrc.config.config_obj["pyfrc"] = dict(game_specific_messages=[])

# -- RTD configuration ------------------------------------------------

Expand Down
16 changes: 0 additions & 16 deletions pyfrc/config.py

This file was deleted.

4 changes: 0 additions & 4 deletions pyfrc/mains/cli_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ def run(self, options, robot_class, **static_options):
print("profiling is not yet implemented for RobotPy 2020")
return 1

from .. import config

config.mode = "profiler"

try:
import cProfile
except ImportError:
Expand Down
5 changes: 0 additions & 5 deletions pyfrc/mains/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ def __init__(self, parser=None):
def run(self, options, robot_class, **static_options):
# wrapper around run_test that sets the appropriate mode

from .. import config

config.mode = "test"
config.coverage_mode = options.coverage_mode

return self.run_test(
options.pytest_args, robot_class, options.builtin, **static_options
)
Expand Down

0 comments on commit 94ae319

Please sign in to comment.