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

Tooling update #19

Open
ThatXliner opened this issue Oct 30, 2021 · 5 comments
Open

Tooling update #19

ThatXliner opened this issue Oct 30, 2021 · 5 comments

Comments

@ThatXliner
Copy link
Owner

ThatXliner commented Oct 30, 2021

About

I want to change some tools used.

Summary

Style

  • Use Shed instead of what we're currently using (Black + Isort). Also simplify Poe tasks Done use shed #26

Testing

  • Use Ward for testing. It is compatible with Hypothesis but will require coverage.py

Linting

(mutually exclusive)

  • Use Pytype instead of MyPy (because inference)
  • Use Pyre instead of MyPy (because speed)

Formatting

Miscellaneous

repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.3.0
    hooks:
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
    -   id: check-json
    -   id: check-toml
-   repo: https://github.com/Zac-HD/shed
    rev: 0.5.3
    types_or: [python, markdown, rst]
    hooks:
    -   id: shed
  • docker?

  • tox

@ThatXliner ThatXliner pinned this issue Oct 30, 2021
This was referenced Oct 30, 2021
@ThatXliner
Copy link
Owner Author

ThatXliner commented Nov 13, 2021

And maybe use DeepSource? Replacing the ci/lint workflow... Done.

@ThatXliner
Copy link
Owner Author

ThatXliner commented Oct 9, 2022

Maybe use copier rather than cookie cutter

@ThatXliner
Copy link
Owner Author

For CI, install poetry as specified in https://python-poetry.org/docs/#ci-recommendations

@ThatXliner
Copy link
Owner Author

We should consider https://github.com/charliermarsh/ruff

@ThatXliner
Copy link
Owner Author

I’m considering (yet again) removing deepsource…

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

No branches or pull requests

1 participant