Skip to content

Commit

Permalink
Removed typings
Browse files Browse the repository at this point in the history
  • Loading branch information
fzakaria committed Aug 30, 2023
1 parent 8a61728 commit 5550ac2
Show file tree
Hide file tree
Showing 28 changed files with 7 additions and 9,521 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ jobs:
- uses: cachix/cachix-action@v12
with:
name: fzakaria
extraPullNames: devenv
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Install devenv.sh
run: nix profile install github:cachix/devenv/latest
shell: sh
- name: Run tests
run: |
devenv ci
devenv shell make lint
devenv shell python -m sqlelf --help
- run: nix develop --command make lint
- run: nix build --print-build-logs
- run: nix run . -- --help
2 changes: 1 addition & 1 deletion sqlelf/elf/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def generator() -> Iterator[dict[str, Any]]:
# super important that these accessors are pulled out of the tight loop
# as they can be costly
binary_name = binary.name
for entry in binary.dynamic_entries:
for entry in binary.dynamic_entries: # pyright: ignore
yield {"path": binary_name, "tag": entry.tag.name, "value": entry.value}

return generator
Expand Down
3 changes: 3 additions & 0 deletions sqlelf/elf/instruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

import apsw
import apsw.ext

# TODO(fzkakaria): https://github.com/capstone-engine/capstone/issues/1993
# pyright: reportMissingTypeStubs=false
import capstone
import lief

Expand Down
Loading

0 comments on commit 5550ac2

Please sign in to comment.