forked from bazel-contrib/rules_python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc
More file actions
37 lines (28 loc) · 1.4 KB
/
Copy path.bazelrc
File metadata and controls
37 lines (28 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import %workspace%/.bazelrc.deleted_packages
test --test_output=errors
build --incompatible_default_to_explicit_init_py
build --@rules_python//python/config_settings:incompatible_default_to_explicit_init_py=True
# Ensure ongoing compatibility with this flag.
common --incompatible_disallow_struct_provider_syntax
# Makes Bazel 7 act more like Bazel 8
common --incompatible_use_plus_in_repo_names
# Explicitly enable for Windows
build --enable_runfiles
# Local disk cache greatly speeds up builds if the regular cache is lost
common --disk_cache=~/.cache/bazel/bazel-disk-cache
common --experimental_downloader_config=downloader_config.cfg
common --http_timeout_scaling=10.0
common --experimental_repository_downloader_retries=10
common --incompatible_python_disallow_native_rules
common --incompatible_no_implicit_file_export
# Pass host PATH to build and test actions so bazel_from_env (used by rules_bazel_integration_test
# for local 'self' testing) can locate the user's bazel binary without disabling strict action env.
common --action_env=PATH
common --test_env=PATH
build --lockfile_mode=update
common:fast-tests --build_tests_only=true
common:fast-tests --build_tag_filters=-large,-enormous,-integration-test
common:fast-tests --test_tag_filters=-large,-enormous,-integration-test
build --config=pyrefly
build:pyrefly --aspects=//tests/support/pyrefly:pyrefly.bzl%pyrefly_aspect
build:pyrefly --output_groups=+pyrefly