ThatXliner / pyt2

My second attempt at making a Python template. Formerly used CookieCutter; now uses Copier
The Unlicense
13 stars 0 forks source link

Tooling update #19

Open ThatXliner opened 2 years ago

ThatXliner commented 2 years ago

About

I want to change some tools used.

Summary

Style

Testing

Linting

(mutually exclusive)

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
ThatXliner commented 2 years ago

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

ThatXliner commented 1 year ago

Maybe use copier rather than cookie cutter

ThatXliner commented 1 year ago

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

ThatXliner commented 1 year ago

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

ThatXliner commented 1 year ago

I’m considering (yet again) removing deepsource…