Skip to content

Commit

Permalink
Update .pre-commit-config.yaml file.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Jan 30, 2024
1 parent 4e5419c commit 2ad18cc
Show file tree
Hide file tree
Showing 8 changed files with 167 additions and 146 deletions.
59 changes: 45 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,50 @@
repos:
- repo: https://github.com/ikamensh/flynt/
rev: '0.77'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
hooks:
- id: flynt
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.239'
- 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/codespell-project/codespell
rev: v2.2.6
hooks:
- id: ruff
- repo: https://github.com/psf/black
rev: 22.10.0
- id: codespell
args: ["--ignore-words-list=buil"]
- repo: https://github.com/ikamensh/flynt
rev: "1.0.1"
hooks:
- id: black
language_version: python3.9
- repo: https://github.com/keewis/blackdoc
rev: v0.3.8
- id: flynt
args: [--verbose]
- repo: https://github.com/PyCQA/isort
rev: "5.13.2"
hooks:
- id: blackdoc
language_version: python3.9
- id: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.14"
hooks:
- id: ruff-format
- id: ruff
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs
language_version: python3.9
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
hooks:
- id: prettier
- 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
25 changes: 11 additions & 14 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,22 @@ In the interest of fostering an open and welcoming environment, we as contributo

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others’ private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others’ private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities


Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
Expand All @@ -35,7 +34,6 @@ This Code of Conduct applies within all project spaces, and it also applies when

## Enforcement


Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting Thomas Mansencal and Michael Mauderer via email at [email protected] and [email protected] respectively. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project’s leadership.
Expand All @@ -46,6 +44,5 @@ This Code of Conduct is adapted from the Contributor Covenant, version 1.4, avai

For answers to common questions about this code of conduct, see [https://www.contributor-covenant.org/faq][faq].


[homepage]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[faq]: https://www.contributor-covenant.org/faq
[faq]: https://www.contributor-covenant.org/faq
2 changes: 1 addition & 1 deletion docs/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
awesome-colour.org
awesome-colour.org
12 changes: 5 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Awesome Colour [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)

__A curated list of awesome colour science resources.__

Inspired by the __[awesome](https://github.com/sindresorhus/awesome)__ list. Please read the __[contribution guidelines](contributing.md)__ before contributing.
**A curated list of awesome colour science resources.**

Inspired by the **[awesome](https://github.com/sindresorhus/awesome)** list. Please read the **[contribution guidelines](contributing.md)** before contributing.

## Contents

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [Awesome Colour](#awesome-colour-)
- [Contents](#contents)
- [Applications](#applications)
Expand Down Expand Up @@ -40,7 +38,6 @@ Inspired by the __[awesome](https://github.com/sindresorhus/awesome)__ list. Ple

<!-- END doctoc generated TOC please keep comment here to allow auto update -->


## Applications

- [CIE Color Calculator](http://www.brucelindbloom.com/ColorCalculator.html) - Online conversion between most of the CIE color models.
Expand Down Expand Up @@ -101,6 +98,7 @@ Inspired by the __[awesome](https://github.com/sindresorhus/awesome)__ list. Ple
- [Akiyoshi's Illusion Pages](http://www.ritsumei.ac.jp/~akitaoka/index-e.html) - Optical illusions.
- [Awesome Computer Vision](https://github.com/jbhuang0604/awesome-computer-vision) - Curated list of awesome computer vision resources.
- [Bruce Lindbloom](http://brucelindbloom.com/) - Online resource for colour conversion mathematics.
- [CG Cinematography](https://chrisbrejon.com/cg-cinematography/) - Online book by chris brejon.
- [CIE Termlist](https://cie.co.at/e-ilv) - Over 1400 definitions of colour science terms.
- [Color: From Hexcodes to Eyeballs](http://jamie-wong.com/post/color/) - Article on how colour get from code values to your eyes.
- [Color FAQ](http://poynton.ca/notes/colour_and_gamma/ColorFAQ.html) - Clarifies aspects of colour specification and image coding.
Expand Down Expand Up @@ -138,7 +136,7 @@ Inspired by the __[awesome](https://github.com/sindresorhus/awesome)__ list. Ple
- [Color Appearance Models](http://onlinelibrary.wiley.com/book/10.1002/9781118653128)
- [Color Gamut Mapping](https://onlinelibrary.wiley.com/doi/book/10.1002/9780470758922)
- [Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd Edition](https://www.wiley.com/en-us/Color+Science%3A+Concepts+and+Methods%2C+Quantitative+Data+and+Formulae%2C+2nd+Edition-p-9780471399186)
- [Colour: Sense & Measurement](https://www.filmlight.ltd.uk/resources/download.php)
- [Colour: Sense & Measurement](https://www.filmlight.ltd.uk/resources/download.php)
- [Computational Colour Science using MATLAB](https://onlinelibrary.wiley.com/doi/book/10.1002/9780470710890)
- [Vision Science - Photons to Phenomenology](https://mitpress.mit.edu/books/vision-science)

Expand All @@ -147,7 +145,7 @@ Inspired by the __[awesome](https://github.com/sindresorhus/awesome)__ list. Ple
### Websites and Articles

- [Academy ACES](http://www.oscars.org/science-technology/sci-tech-projects/aces) - Industry standard for managing colour throughout the life cycle of a motion picture or television production.
- [Basic Photographic Sensitometry Workbook](https://www.kodak.com/content/products-brochures/Film/Basic-Photographic-Sensitometry-Workbook.pdf) - An Eastman Kodak's workbook on photographic sensitometry.
- [Basic Photographic Sensitometry Workbook](https://www.kodak.com/content/products-brochures/Film/Basic-Photographic-Sensitometry-Workbook.pdf) - An Eastman Kodak's workbook on photographic sensitometry.
- [Chromatic Aberration Simulator](https://smallpond.ca/jim/photomicrography/ca/index.html) - A web-based online axial and transverse chromatic aberration simulator.
- [Cinematic Color](http://cinematiccolor.org/) - Motion picture colour management.
- [Digital Camera Reviews and Sensor Performance Summary](http://www.clarkvision.com/articles/digital.sensor.performance.summary/) - Digital camera sensor electronics and concepts.
Expand Down
46 changes: 23 additions & 23 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
# Project Information
site_name: 'Awesome Colour'
site_url: 'http://awesome-colour.org'
site_description: 'A curated list of awesome colour science resources.'
site_author: 'Colour Developers'
site_name: "Awesome Colour"
site_url: "http://awesome-colour.org"
site_description: "A curated list of awesome colour science resources."
site_author: "Colour Developers"

# Repository
repo_name: 'colour-science/awesome-colour'
repo_url: 'https://github.com/colour-science/awesome-colour'
repo_name: "colour-science/awesome-colour"
repo_url: "https://github.com/colour-science/awesome-colour"

# Copyright
copyright: 'Copyright 2018 <a href="mailto:[email protected]">Colour Developers</a>'

# Content
nav:
- 'A curated list of awesome colour science resources.': 'index.md'
- 'Contributing': 'contributing.md'
- "A curated list of awesome colour science resources.": "index.md"
- "Contributing": "contributing.md"

# Theme
theme:
name: 'material'
name: "material"
palette:
primary: 'grey'
accent: 'grey'
primary: "grey"
accent: "grey"

# Social
extra:
social:
- icon: 'fontawesome/brands/github'
link: 'https://github.com/colour-science'
- icon: 'fontawesome/brands/github-alt'
link: 'https://gitter.im/colour-science/colour'
- icon: 'fontawesome/brands/facebook'
link: 'https://www.facebook.com/python.colour.science'
- icon: 'fontawesome/brands/twitter'
link: 'https://twitter.com/colour_science'
- icon: 'fontawesome/brands/linkedin'
link: 'https://www.linkedin.com/in/thomasmansencal/'
- icon: "fontawesome/brands/github"
link: "https://github.com/colour-science"
- icon: "fontawesome/brands/github-alt"
link: "https://gitter.im/colour-science/colour"
- icon: "fontawesome/brands/facebook"
link: "https://www.facebook.com/python.colour.science"
- icon: "fontawesome/brands/twitter"
link: "https://twitter.com/colour_science"
- icon: "fontawesome/brands/linkedin"
link: "https://www.linkedin.com/in/thomasmansencal/"

# Analytics
google_analytics:
- 'UA-119871277-1'
- 'auto'
- "UA-119871277-1"
- "auto"
Loading

0 comments on commit 2ad18cc

Please sign in to comment.