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

Add yamllint config #5838

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This config represents running the command `yamllint -d relaxed .` with the
# following extra rules:
#
# new-line-at-end-of-file:
# level: warning
# trailing-spaces:
# level: warning
#
# We also ignore the cookiecutter directories as these often contain
# jinja-style templating functions that yamllint doesn't play nicely with
#
# cribbed from https://github.com/2i2c-org/infrastructure/blob/main/.yamllint.yaml
---
extends: default

ignore: |
**/template/**

rules:
braces:
level: warning
max-spaces-inside: 1
brackets:
level: warning
max-spaces-inside: 1
colons:
level: warning
commas:
level: warning
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
level: warning
hyphens:
level: warning
indentation:
level: warning
indent-sequences: consistent
line-length: disable
new-line-at-end-of-file:
level: warning
trailing-spaces:
level: warning
truthy: disable
2 changes: 1 addition & 1 deletion deployments/a11y/image/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- plotly==5.13.1
- pyopenssl==23.1.0
- requests==2.28.2
- urllib3==1.26.15
- urllib3==2.2.2
- websockify==0.11.0
- pip==23.0.1
- jupyterthemes==0.20.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git+https://github.com/yuvipanda/ok-client@6961d778741fe61911be4d00beff9bd8afc1e
folium==0.12.1
#
# r
jupyter-server-proxy==3.2.1
jupyter-server-proxy==4.2.0
jupyter-rsession-proxy==2.0.1
jupyter-shiny-proxy==1.1
#
Expand Down
2 changes: 1 addition & 1 deletion images/node-placeholder-scaler/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ DateTime
ical==5.0.0
requests
ruamel.yaml
urllib3==2.0.7
urllib3==2.2.2
17 changes: 9 additions & 8 deletions images/node-placeholder-scaler/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile requirements.in
#
annotated-types==0.6.0
annotated-types==0.7.0
# via pydantic
certifi==2023.7.22
# via
Expand All @@ -14,41 +14,42 @@ charset-normalizer==3.3.2
# via requests
datetime==5.5
# via -r requirements.in
emoji==2.11.1
emoji==2.12.1
# via ical
ical==5.0.0
# via -r requirements.in
idna==3.7
# via requests
pydantic==2.7.1
pydantic==2.8.0
# via ical
pydantic-core==2.18.2
pydantic-core==2.20.0
# via pydantic
pyparsing==3.1.2
# via ical
python-dateutil==2.9.0.post0
# via ical
pytz==2024.1
# via datetime
requests==2.31.0
requests==2.32.3
# via -r requirements.in
ruamel-yaml==0.18.6
# via -r requirements.in
ruamel-yaml-clib==0.2.8
# via ruamel-yaml
six==1.16.0
# via python-dateutil
typing-extensions==4.11.0
typing-extensions==4.12.2
# via
# emoji
# pydantic
# pydantic-core
tzdata==2024.1
# via ical
urllib3==2.0.7
urllib3==2.2.2
# via
# -r requirements.in
# requests
zope-interface==6.3
zope-interface==6.4.post2
# via datetime

# The following packages are considered to be unsafe in a requirements file:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ myst-parser
chardet
# requests==2.31.0
requests<2.29.0
urllib3<2.0
urllib3==2.2.2
Loading