From 1c172855e4dba3689d8826fab10f48632c1cd901 Mon Sep 17 00:00:00 2001 From: pythonpete32 Date: Sat, 7 Oct 2023 10:03:28 +0400 Subject: [PATCH] style: lint --- src/TimeShiftLib.sol | 1 + test/base/TribeTest.sol | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TimeShiftLib.sol b/src/TimeShiftLib.sol index 6636411..72d0450 100644 --- a/src/TimeShiftLib.sol +++ b/src/TimeShiftLib.sol @@ -53,6 +53,7 @@ library TimeShiftLib { error InvalidTimeShift(); + // solhint-disable-next-line code-complexity function applyShift(uint40 time, EncodedTimeShift shift) internal pure returns (uint40) { (TimeUnit unit, int40 offset) = shift.decode(); diff --git a/test/base/TribeTest.sol b/test/base/TribeTest.sol index a1cc912..494f47f 100644 --- a/test/base/TribeTest.sol +++ b/test/base/TribeTest.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.17; -import "forge-std/Test.sol"; +import { Test } from "forge-std/Test.sol"; contract TribeTest is Test { function account(string memory label) internal returns (address addr) {