Skip to content

Commit 4bf3b54

Browse files
committed
Fix Firestore import ordering
1 parent 4ac9019 commit 4bf3b54

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

Firestore/core/src/nanopb/byte_string.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616

1717
#include "Firestore/core/src/nanopb/byte_string.h"
1818

19-
#include <cctype>
2019
#include <cstdlib>
20+
21+
#include <cctype>
2122
#include <cstring>
2223
#include <iomanip>
2324
#include <ostream>

Firestore/core/test/unit/nanopb/byte_string_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616

1717
#include "Firestore/core/src/nanopb/byte_string.h"
1818

19-
#include <cstdint>
2019
#include <cstdlib>
2120

21+
#include <cstdint>
22+
2223
#include "Firestore/core/src/nanopb/nanopb_util.h"
2324
#include "gmock/gmock.h"
2425
#include "gtest/gtest.h"

Firestore/core/test/unit/util/executor_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616

1717
#include "Firestore/core/test/unit/util/executor_test.h"
1818

19+
#include <cstdlib>
20+
1921
#include <chrono> // NOLINT(build/c++11)
2022
#include <condition_variable> // NOLINT(build/c++11)
21-
#include <cstdlib>
22-
#include <future> // NOLINT(build/c++11)
23+
#include <future> // NOLINT(build/c++11)
2324
#include <string>
2425
#include <thread> // NOLINT(build/c++11)
2526

Firestore/core/test/unit/util/schedule_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616

1717
#include "Firestore/core/src/util/schedule.h"
1818

19-
#include <chrono> // NOLINT(build/c++11)
2019
#include <cstdlib>
20+
21+
#include <chrono> // NOLINT(build/c++11)
2122
#include <string>
2223

2324
#include "Firestore/core/src/util/task.h"

scripts/check_lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def lint_py(files):
141141
global _flake8_warned
142142
if not _flake8_warned:
143143
_flake8_warned = True
144-
_logger.warn(textwrap.dedent(
144+
_logger.warning(textwrap.dedent(
145145
"""
146146
Could not find flake8 on $PATH; skipping python lint.
147147
Install with:

0 commit comments

Comments
 (0)