Skip to content

Commit

Permalink
Document the importance of None as a dict value
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Jul 12, 2024
1 parent 42582ee commit d2c645d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/writing-easyconfig-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ checksums = [
]
```

The difference between having an entry in the dict with the value of `None` and not having an entry
only matters when using the `--enforce_checksums` option which will raise an error in the latter case.

Note that not having an entry in the dict for a file will raise an error
while a value of `None` will skip the checksum verification for that file.
But even in the latter case the `--enforce_checksums` option will raise an error.

##### Adding or replacing checksums using `--inject-checksums` {: #inject_checksums }

Expand Down

0 comments on commit d2c645d

Please sign in to comment.