Skip to content

Commit

Permalink
chore: fix some typos in comments
Browse files Browse the repository at this point in the history
Signed-off-by: shenpengfeng <[email protected]>
  • Loading branch information
shenpengfeng committed Feb 28, 2025
1 parent a77738f commit a40528f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/ci_test_data_dependency.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

### Test data dependecy
### Test data dependency

if ! python ./examples/scripts/data_dependency.py ./examples/scripts/data_dependency.sol; then
echo "data dependency failed"
Expand Down
2 changes: 1 addition & 1 deletion slither/core/declarations/contract_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ContractLevel(SourceMapping):
def __init__(self) -> None:
super().__init__()
# TODO remove all the setters for the child objects
# And make it a constructor arguement
# And make it a constructor argument
# This will remove the optional
self._contract: Optional["Contract"] = None

Expand Down
2 changes: 1 addition & 1 deletion slither/utils/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class FailOnLevel(enum.Enum):
def read_config_file(args: argparse.Namespace) -> None:
# No config file was provided as an argument
if args.config_file is None:
# Check wether the default config file is present
# Check whether the default config file is present
if os.path.exists("slither.config.json"):
# The default file exists, use it
args.config_file = "slither.config.json"
Expand Down

0 comments on commit a40528f

Please sign in to comment.