summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2022-05-24 22:55:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-25 17:40:16 +0000
commit9ea1d6f0419938770eea612479c75838f75752b7 (patch)
tree26b57fa102878dba3251b40f7ddf9c50ab8b275a /src/mongo/db/storage
parent3ad805fea14b2f1d5c5a367f6ec05ece93502f32 (diff)
downloadmongo-9ea1d6f0419938770eea612479c75838f75752b7.tar.gz
SERVER-66490 Apply pylinters to build system code
Diffstat (limited to 'src/mongo/db/storage')
-rw-r--r--src/mongo/db/storage/SConscript26
-rw-r--r--src/mongo/db/storage/kv/SConscript1
-rw-r--r--src/mongo/db/storage/wiredtiger/SConscript6
3 files changed, 14 insertions, 19 deletions
diff --git a/src/mongo/db/storage/SConscript b/src/mongo/db/storage/SConscript
index 6097874f3f5..9ac78a1409f 100644
--- a/src/mongo/db/storage/SConscript
+++ b/src/mongo/db/storage/SConscript
@@ -10,7 +10,7 @@ env.SConscript(
'wiredtiger',
],
exports=[
- 'env'
+ 'env',
],
)
@@ -209,7 +209,7 @@ env.Library(
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
- '$BUILD_DIR/mongo/db/service_context'
+ '$BUILD_DIR/mongo/db/service_context',
],
)
@@ -285,11 +285,10 @@ env.Library(
],
)
-
env.Library(
target='recovery_unit_test_harness',
source=[
- 'recovery_unit_test_harness.cpp'
+ 'recovery_unit_test_harness.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/concurrency/lock_manager',
@@ -314,7 +313,7 @@ env.Library(
env.Library(
target='storage_change_lock',
source=[
- 'storage_change_lock.cpp'
+ 'storage_change_lock.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
@@ -325,10 +324,9 @@ env.Library(
target='storage_engine_common',
source=[
'storage_engine_init.cpp',
- 'storage_engine_change_context.cpp'
- ],
- LIBDEPS=[
+ 'storage_engine_change_context.cpp',
],
+ LIBDEPS=[],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/concurrency/lock_manager',
'$BUILD_DIR/mongo/db/service_context',
@@ -351,8 +349,8 @@ env.Library(
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/commands/server_status',
- 'backup_cursor_hooks'
- ]
+ 'backup_cursor_hooks',
+ ],
)
env.Library(
@@ -363,7 +361,7 @@ env.Library(
LIBDEPS_PRIVATE=[
"$BUILD_DIR/mongo/base",
'$BUILD_DIR/mongo/db/namespace_string',
- ]
+ ],
)
env.Library(
@@ -420,7 +418,7 @@ env.Library(
env.Benchmark(
target='storage_key_string_bm',
source=[
- 'key_string_bm.cpp'
+ 'key_string_bm.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
@@ -431,7 +429,7 @@ env.Benchmark(
env.Benchmark(
target='storage_record_id_bm',
source=[
- 'record_id_bm.cpp'
+ 'record_id_bm.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
@@ -448,7 +446,7 @@ env.Library(
'$BUILD_DIR/mongo/base',
'encryption_hooks',
'storage_options',
- ]
+ ],
)
env.Library(
diff --git a/src/mongo/db/storage/kv/SConscript b/src/mongo/db/storage/kv/SConscript
index 67f6904300a..9d98220d97d 100644
--- a/src/mongo/db/storage/kv/SConscript
+++ b/src/mongo/db/storage/kv/SConscript
@@ -35,4 +35,3 @@ env.Library(
'$BUILD_DIR/mongo/util/clock_source_mock',
],
)
-
diff --git a/src/mongo/db/storage/wiredtiger/SConscript b/src/mongo/db/storage/wiredtiger/SConscript
index 1d25c612bba..f322d6c6b92 100644
--- a/src/mongo/db/storage/wiredtiger/SConscript
+++ b/src/mongo/db/storage/wiredtiger/SConscript
@@ -15,7 +15,7 @@ env.Library(
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
- '$BUILD_DIR/mongo/db/service_context'
+ '$BUILD_DIR/mongo/db/service_context',
],
)
@@ -157,7 +157,7 @@ wtEnv.CppUnitTest(
'$BUILD_DIR/mongo/util/clock_source_mock',
'storage_wiredtiger',
'storage_wiredtiger_core',
- ]
+ ],
)
wtEnv.Library(
@@ -197,7 +197,6 @@ wtEnv.Library(
],
)
-
wtEnv.Library(
target='storage_wiredtiger_import',
source=[
@@ -214,7 +213,6 @@ wtEnv.Library(
],
)
-
wtEnv.CppUnitTest(
target='storage_wiredtiger_record_store_and_index_test',
source=[