Skip to content

Commit

Permalink
adding hadd file and more name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zbilodea committed Oct 17, 2023
1 parent c9f7cb6 commit cac1e12
Show file tree
Hide file tree
Showing 6 changed files with 564 additions and 79 deletions.
212 changes: 139 additions & 73 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,143 @@ ci:
autoupdate_commit_msg: "chore: update pre-commit hooks"
autofix_commit_msg: "style: pre-commit fixes"


repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: "23.7.0"
hooks:
- id: black-jupyter

- repo: https://github.com/adamchainz/blacken-docs
rev: "1.16.0"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: name-tests-test
args: ["--pytest-test-first"]
- id: requirements-txt-fixer
- id: trailing-whitespace

- repo: https://github.com/pre-commit/pygrep-hooks
rev: "v1.10.0"
hooks:
- id: rst-backticks
- id: rst-directive-colons
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.287"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.5.1"
hooks:
- id: mypy
files: src|tests
args: []
additional_dependencies:
- pytest

- repo: https://github.com/codespell-project/codespell
rev: "v2.2.5"
hooks:
- id: codespell

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.9.0.5"
hooks:
- id: shellcheck

- repo: local
hooks:
- id: disallow-caps
name: Disallow improper capitalization
language: pygrep
entry: PyBind|Numpy|Cmake|CCache|Github|PyTest
exclude: .pre-commit-config.yaml
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude_types: [svg]
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: trailing-whitespace
- id: name-tests-test
args: ["--pytest-test-first"]

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
args: [--include-version-classifiers, --max-py-version=3.11]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black

- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
additional_dependencies: [pyyaml]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.291
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
hooks:
- id: codespell
args: ["-L", "ue,subjet,parms,fo,numer,thre"]

- repo: local
hooks:
- id: disallow-caps
name: disallow improper capitalization
language: pygrep
entry: PyBind|Cmake|CCache|Github|PyTest
exclude: .pre-commit-config.yaml

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.9.0.5"
hooks:
- id: shellcheck

- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
hooks:
- id: pyupgrade

# repos:
# - repo: https://github.com/psf/black-pre-commit-mirror
# rev: 23.9.1
# hooks:
# - id: black

# - repo: https://github.com/adamchainz/blacken-docs
# rev: "1.16.0"
# hooks:
# - id: blacken-docs
# additional_dependencies: [black==23.7.0]

# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: "v4.4.0"
# hooks:
# - id: check-added-large-files
# - id: check-case-conflict
# - id: check-merge-conflict
# - id: check-symlinks
# - id: check-yaml
# - id: debug-statements
# - id: end-of-file-fixer
# - id: mixed-line-ending
# - id: name-tests-test
# args: ["--pytest-test-first"]
# - id: requirements-txt-fixer
# - id: trailing-whitespace

# - repo: https://github.com/pre-commit/pygrep-hooks
# rev: "v1.10.0"
# hooks:
# - id: rst-backticks
# - id: rst-directive-colons
# - id: rst-inline-touching-normal

# - repo: https://github.com/pre-commit/mirrors-prettier
# rev: "v3.0.3"
# hooks:
# - id: prettier
# types_or: [yaml, markdown, html, css, scss, javascript, json]
# args: [--prose-wrap=always]

# - repo: https://github.com/astral-sh/ruff-pre-commit
# rev: "v0.0.287"
# hooks:
# - id: ruff
# args: ["--fix", "--show-fixes"]

# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: "v1.5.1"
# hooks:
# - id: mypy
# files: src|tests
# args: []
# additional_dependencies:
# - pytest

# - repo: https://github.com/codespell-project/codespell
# rev: "v2.2.5"
# hooks:
# - id: codespell

# - repo: https://github.com/shellcheck-py/shellcheck-py
# rev: "v0.9.0.5"
# hooks:
# - id: shellcheck

# - repo: local
# hooks:
# - id: disallow-caps
# name: Disallow improper capitalization
# language: pygrep
# entry: PyBind|Numpy|Cmake|CCache|Github|PyTest
# exclude: .pre-commit-config.yaml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Odapt
# odapt

[![Actions Status][actions-badge]][actions-link]
[![Documentation Status][rtd-badge]][rtd-link]
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ docs = [
]

[project.urls]
Homepage = "https://github.com/zbilodea/Odapt"
"Bug Tracker" = "https://github.com/zbilodea/Odapt/issues"
Discussions = "https://github.com/zbilodea/Odapt/discussions"
Changelog = "https://github.com/zbilodea/Odapt/releases"
Homepage = "https://github.com/zbilodea/odapt"
"Bug Tracker" = "https://github.com/zbilodea/odapt/issues"
Discussions = "https://github.com/zbilodea/odapt/discussions"
Changelog = "https://github.com/zbilodea/odapt/releases"


[tool.hatch]
Expand Down
2 changes: 1 addition & 1 deletion src/odapt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Copyright (c) 2023 Zoë Bilodeau. All rights reserved.
Odapt: File conversion package.
odapt: File conversion package.
"""
from __future__ import annotations

Expand Down
1 change: 1 addition & 0 deletions src/odapt/operations/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from __future__ import annotations
Loading

0 comments on commit cac1e12

Please sign in to comment.