Skip to content

Commit 0c59d31

Browse files
authored
chore: add --check_direct_dependencies to .bazelrc (#346)
Setting this flag in our the rule sets we maintain. Don’t want to push a rules author to update their deps if not needed. https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
1 parent e1437d4 commit 0c59d31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.bazelrc

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ common:dev --override_repository=rules_python=~/workspace/rules_python
1919
# No external runfiles
2020
common --nolegacy_external_runfiles
2121

22+
# Don’t want to push a rules author to update their deps if not needed.
23+
# https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies
24+
# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
25+
common --check_direct_dependencies=off
2226

2327
# Load any settings specific to the current user.
2428
# .bazelrc.user should appear in .gitignore so that settings are not shared with team members

0 commit comments

Comments
 (0)