Skip to content

Commit

Permalink
chore: update to textual 1.0
Browse files Browse the repository at this point in the history
- fixes #33
  • Loading branch information
miraculixx committed Dec 23, 2024
1 parent e3fcb68 commit 9ca5002
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest tox
python -m pip install -U flake8 pytest tox
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Lint with flake8
# run: |
Expand Down
4 changes: 2 additions & 2 deletions bogrod/tui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class BogrodApp(App):
def __init__(self, *args, bogrod=None, **kwargs):
super().__init__(*args, **kwargs)
self.bogrod = bogrod
list_screen = VulnerabilityList(bogrod=self.bogrod)
self.install_screen(list_screen, 'vulnerability-list')

def on_mount(self):
list_screen = VulnerabilityList(bogrod=self.bogrod)
self.install_screen(list_screen, 'vulnerability-list')
self.push_screen('vulnerability-list')
2 changes: 1 addition & 1 deletion bogrod/tui/vulnlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class VulnerabilityList(HelpableMixin, Screen):
BINDINGS = [
Binding(key="enter", action='edit_vulnerability', description="edit", priority=True, show=True),
Binding(key="q", action='quit', description="quit", priority=True, show=True),
Binding(key="ctrl-q", action='quit', description="quit", priority=True, show=True),
Binding(key="?", action='help', description="help", priority=True, show=True),
Binding(key="l,L", action='focus_table', description="go to list of vulnerabilities", show=True),
Binding(key='f,F', action='focus_filter', description='go to filters', show=True),
Expand Down
Empty file added pyproject.toml
Empty file.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py310,py311
envlist = py310,py311,py312
package = wheel

[testenv]
Expand Down

0 comments on commit 9ca5002

Please sign in to comment.