summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Schlömer <nico.schloemer@gmail.com>2022-06-06 10:44:36 +0200
committerNico Schlömer <nico.schloemer@gmail.com>2022-06-06 10:44:36 +0200
commitc6ec9773d0b281f6fcd82c91a23c258146991572 (patch)
tree1098798a44557f5da74f2d6221b6cfbfcc123d1d
parentdb9f3b93014a084cd4c19edb2819f7bbbf7a88b4 (diff)
prettier
-rw-r--r--.pre-commit-config.yaml7
-rw-r--r--CODE_OF_CONDUCT.md21
-rw-r--r--CONTRIBUTING.md2
3 files changed, 17 insertions, 13 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cea1f19..a1e83ea 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,7 +5,7 @@ repos:
- id: isort
- repo: https://github.com/psf/black
- rev: 22.1.0
+ rev: 22.3.0
hooks:
- id: black
language_version: python3
@@ -14,3 +14,8 @@ repos:
rev: 4.0.1
hooks:
- id: flake8
+
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: v2.6.2
+ hooks:
+ - id: prettier
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index d5856f1..0252a88 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -14,21 +14,21 @@ appearance, race, religion, or sexual identity and orientation.
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
+- 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
+- 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
+- Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
@@ -74,4 +74,3 @@ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct/
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq/
-
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0f7bd9b..eac8248 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,7 +1,7 @@
# tiptop contributing guidelines
The tiptop community appreciates your contributions via issues and
-pull requests. Note that the [code of conduct](CODE_OF_CONDUCT.md)
+pull requests. Note that the [code of conduct](CODE_OF_CONDUCT.md)
applies to all interactions with the tiptop project, including
issues and pull requests.