This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74ce001
commit 675d112
Showing
13 changed files
with
25 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,15 @@ | ||
# SPDX-FileCopyrightText: 2022 Kattni Rembor, written for Adafruit Industries | ||
# SPDX-FileCopyrightText: 2023 Jose D. Montoya | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
# Do not include files and directories created by your personal work environment, such as the IDE | ||
# you use, except for those already listed here. Pull requests including changes to this file will | ||
# not be accepted. | ||
|
||
# This .gitignore file contains rules for files generated by working with CircuitPython libraries, | ||
# including building Sphinx, testing with pip, and creating a virual environment, as well as the | ||
# MacOS and IDE-specific files generated by using MacOS in general, or the PyCharm or VSCode IDEs. | ||
|
||
# If you find that there are files being generated on your machine that should not be included in | ||
# your git commit, you should create a .gitignore_global file on your computer to include the | ||
# files created by your personal setup. To do so, follow the two steps below. | ||
|
||
# First, create a file called .gitignore_global somewhere convenient for you, and add rules for | ||
# the files you want to exclude from git commits. | ||
|
||
# Second, configure Git to use the exclude file for all Git repositories by running the | ||
# following via commandline, replacing "path/to/your/" with the actual path to your newly created | ||
# .gitignore_global file: | ||
# git config --global core.excludesfile path/to/your/.gitignore_global | ||
|
||
# CircuitPython-specific files | ||
*.mpy | ||
|
||
# Python-specific files | ||
__pycache__ | ||
*.pyc | ||
|
||
# Sphinx build-specific files | ||
_build | ||
|
||
# This file results from running `pip -e install .` in a local repository | ||
*.egg-info | ||
|
||
# Virtual environment-specific files | ||
.env | ||
.venv | ||
|
||
# MacOS-specific files | ||
*.DS_Store | ||
|
||
# IDE-specific files | ||
.idea | ||
.vscode | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,31 @@ | ||
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò | ||
# SPDX-FileCopyrightText: 2023 Jose D. Montoya | ||
# | ||
# SPDX-License-Identifier: Unlicense | ||
|
||
repos: | ||
- repo: https://github.com/python/black | ||
rev: 22.3.0 | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.2.0 | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/pycqa/pylint | ||
rev: v2.15.5 | ||
rev: v2.17.4 | ||
hooks: | ||
- id: pylint | ||
name: pylint (library code) | ||
types: [python] | ||
args: | ||
- --disable=consider-using-f-string | ||
exclude: "^(docs/|examples/|tests/|setup.py$)" | ||
exclude: "^(docs/|examples/|tests/)" | ||
- id: pylint | ||
name: pylint (example code) | ||
description: Run pylint rules on "examples/*.py" files | ||
types: [python] | ||
files: "^examples/" | ||
args: | ||
- --disable=missing-docstring,invalid-name,consider-using-f-string,duplicate-code | ||
- id: pylint | ||
name: pylint (test code) | ||
description: Run pylint rules on "tests/*.py" files | ||
types: [python] | ||
files: "^tests/" | ||
args: | ||
- --disable=missing-docstring,consider-using-f-string,duplicate-code |
Oops, something went wrong.