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

Added .pre-commit-config.yaml with coding standard rules enforced at each commit #174

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

timcera
Copy link
Contributor

@timcera timcera commented Jul 28, 2024

This is the example of what the code would look like implementing #170

Running "pre-commit install" installs the git hooks so that all the tests will be run on the code in the commit for each commit.

Reformatted the files in the repository according to rules in a new
file ".pre-commit-config.yaml".  Have to install pre-commit either
through pip or conda and then "pre-commit install" to install the
git hooks.

The pre-commit lints or reformats many file types by using
separate linters and autoformaters that are installed as part of
pre-commit.

Uses "ruff" for Python files, but presently configured only for
autoformatting.  Turned off "ruff" linting because it found over
300 problems, some of which there weren't easy answers for.
@PaulDudaRESPEC PaulDudaRESPEC changed the base branch from master to develop August 14, 2024 19:37
@PaulDudaRESPEC PaulDudaRESPEC merged commit 79a626b into respec:develop Aug 14, 2024
11 checks passed
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