Skip to content

Commit

Permalink
chore: enable bytecode compilation for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
teocns committed Dec 28, 2024
1 parent 37ae45c commit 1d37241
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ ci = [
Homepage = "https://github.com/AgentOps-AI/agentops"
Issues = "https://github.com/AgentOps-AI/agentops/issues"

[tool.uv]
compile-bytecode = true # Enable bytecode compilation for better performance

# Core development dependencies
dev-dependencies = [
# Testing essentials
Expand Down Expand Up @@ -97,7 +100,6 @@ strict = true # Enforce strict dependency resolution for reliability
[tool.autopep8]
max_line_length = 120


[tool.pytest.ini_options]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function" # WARNING: Changing this may break tests. A `module`-scoped session might be faster, but also unstable.
Expand Down Expand Up @@ -156,11 +158,3 @@ exclude = [

[tool.setuptools]
packages = ["agentops"]

[tool.uv]
default-groups = ["dev"]
python = "3.7" # Minimum supported version
compile-bytecode = true

[tool.uv.pip]
strict = true

0 comments on commit 1d37241

Please sign in to comment.