Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move modules under "cohere.compass" + More refactoring #56

Merged
merged 4 commits into from
Dec 5, 2024

Conversation

corafid
Copy link
Member

@corafid corafid commented Dec 4, 2024

  • Move all modules under "cohere.compass".
  • Remove tqdm from dependencies; we are not using it.
  • Added pyright type checking to pre-commit.
  • Changed pyright checking mode from basic, which, as the name suggests, is basic and didn't catch some errors to strict to ensure we catch as many errors as possible at coding time rather than run time.
  • Updated README.md to have pyright certification at the top ;-)
  • Changed Python support window to [3.9, 4.0).

- Move all modules under "cohere.compass".
- Remove `tqdm` from dependencies; we are not using it.
- Added `pyright` type checking to pre-commit.
- Changed pyright checking mode from `basic`, which, as the name
  suggests, is basic and didn't catch some errors to `strict` to ensure
  we catch as many errors as possible at coding time rather than run
  time.
- Updated README.md to have pyright certification at the top ;-)
@corafid corafid requested a review from a team as a code owner December 4, 2024 19:40
- `python-version` matrix values should be strings.
- Renamed `formatting.yml` to `pre-commit-checks.yml` since we are not
  just doing formatting checks now, but running multiple rules.
- Removed `typecheck.yml` since now we execute pyright checks using
  pre-commit, so already covered by the pre-commit workflow.
@corafid corafid merged commit ec32e5b into main Dec 5, 2024
11 checks passed
@corafid corafid deleted the corafid/refact/general branch December 5, 2024 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants