Skip to content

Commit

Permalink
Merge branch 'switch-to-pyproject-toml' of github.com:adybbroe/pyorbi…
Browse files Browse the repository at this point in the history
…tal into switch-to-pyproject-toml
  • Loading branch information
Adam.Dybbroe committed Nov 21, 2024
2 parents 7fa732b + 68488f0 commit 1d480df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .bandit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[bandit]
skips: B506
exclude: pyorbital/tests
4 changes: 0 additions & 4 deletions .stickler.yml

This file was deleted.

2 changes: 1 addition & 1 deletion pyorbital/tlefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def write_tle_txt(self):
for satid, platform_name in self.platforms.items():
if self.writer_config.get("write_name", False):
data.append(platform_name)
query = f"SELECT epoch, tle FROM '{satid:d}' ORDER BY epoch DESC LIMIT 1" # noseq
query = f"SELECT epoch, tle FROM '{satid:d}' ORDER BY epoch DESC LIMIT 1" # nosec
epoch, tle = self.db.execute(query).fetchone() # nosec
date_epoch = dt.datetime.strptime(epoch, ISO_TIME_FORMAT)
tle_age = (
Expand Down

0 comments on commit 1d480df

Please sign in to comment.