Skip to content

Conversation

@PawelLipski
Copy link
Collaborator

No description provided.

PawelLipski and others added 3 commits November 20, 2025 23:21
Bumps the deps group with 3 updates in the /requirements directory: [coverage](https://github.com/coveragepy/coveragepy), [pytest](https://github.com/pytest-dev/pytest) and [typos](https://github.com/crate-ci/typos).


Updates `coverage` from 7.11.3 to 7.12.0
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.11.3...7.12.0)

Updates `pytest` from 9.0.0 to 9.0.1
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@9.0.0...9.0.1)

Updates `typos` from 1.39.0 to 1.39.2
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](crate-ci/typos@v1.39.0...v1.39.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: pytest
  dependency-version: 9.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: typos
  dependency-version: 1.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add interactive UI for `git machete go`

* Use ANSI escape codes instead of curses

* Right arrow + proper tests

* Extract ANSI codes

* Try fixing CI - tests not passing yet

* Fix CLI parsing in Python 3.6

* Print checked out branch

* Revert tests/test_go.py

* Partly fix the tests

* Remove the test for Enter

* Fix tox config

* Find git-machete executable in .tox directory

* Remove test_go_missing_direction

* Fix types-pexpect versions

* Use existing logic for parsing machete file

* Get rid of pexpect

* Fix pep8 errors

* Remove dead code

* Handle annotations better + add coverage

* Wrap arrows around

* Tests for Q and an unknown key

* Tidy up the test

* Tidy up the test more

* Add BaseTest as a base

* Add extra branch to the test

* Remove trailing whitespace

* Tidy up tox.ini

* Refactor + test for left arrow on a root

* Fix types

* Add test_go_interactive_unmanaged_current_branch

* Refactor with the use of index_or_none

* Add test_go_interactive_scrolling

* Cover scrolling with tests

* Use index instead of index_or_none

* Skip test_go_interactive_scrolling in Python <3.10

* Add test_go_interactive_scrolling_up

* Use Checking out ... OK message

* Refactor/simplify

* Simplify even more

* Make current_branch an attribute

* Support Shift+arrows

* Move ANSI codes to utils.py

* Better mocking in scrolling tests

* Derive terminal size

* Mock git_machete.utils.get_terminal_height
* Fix raw HTTP 422 in case head branch is missing on remote

* Add gitlab tests

* Fix condition

* Improve coverage
@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.63%. Comparing base (80e6915) to head (b354f1c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1540      +/-   ##
==========================================
+ Coverage   98.61%   98.63%   +0.01%     
==========================================
  Files          26       27       +1     
  Lines        4347     4534     +187     
  Branches      828      857      +29     
==========================================
+ Hits         4287     4472     +185     
- Misses         38       39       +1     
- Partials       22       23       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* Mock getch to simplify interactive `go` tests

* Fix mypy

* Restore missing coverage

* Get rid of capsys

* Mock on lower level

* Tidy up the tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants