Skip to content

Commit 79685dc

Browse files
authored
Merge pull request #2678 from shenpengfeng/master
chore: fix some typos in comments
2 parents fbb4342 + a40528f commit 79685dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/ci_test_data_dependency.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
### Test data dependecy
3+
### Test data dependency
44

55
if ! python ./examples/scripts/data_dependency.py ./examples/scripts/data_dependency.sol; then
66
echo "data dependency failed"

slither/core/declarations/contract_level.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ContractLevel(SourceMapping):
1616
def __init__(self) -> None:
1717
super().__init__()
1818
# TODO remove all the setters for the child objects
19-
# And make it a constructor arguement
19+
# And make it a constructor argument
2020
# This will remove the optional
2121
self._contract: Optional["Contract"] = None
2222

slither/utils/command_line.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class FailOnLevel(enum.Enum):
8080
def read_config_file(args: argparse.Namespace) -> None:
8181
# No config file was provided as an argument
8282
if args.config_file is None:
83-
# Check wether the default config file is present
83+
# Check whether the default config file is present
8484
if os.path.exists("slither.config.json"):
8585
# The default file exists, use it
8686
args.config_file = "slither.config.json"

0 commit comments

Comments
 (0)