Skip to content

Commit

Permalink
Apply ruff format and linting auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jan 13, 2025
1 parent 6a519df commit a750471
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
python -m pip install build
- name: build the dist files
run: |
run: |
python -m build .
- name: Upload the dist files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:
python -m pip install pytest
- name: Run the tests
run: |
pytest .
pytest .
44 changes: 22 additions & 22 deletions docs/_themes/flask_small/static/flasky.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
* :license: BSD, see LICENSE for details.
*
*/

@import url("basic.css");

/* -- page layout ----------------------------------------------------------- */

body {
font-family: 'Georgia', serif;
font-size: 17px;
Expand All @@ -35,7 +35,7 @@ div.bodywrapper {
hr {
border: 1px solid #B1B4B6;
}

div.body {
background-color: #ffffff;
color: #3E4349;
Expand All @@ -46,7 +46,7 @@ img.floatingflask {
padding: 0 0 10px 10px;
float: right;
}

div.footer {
text-align: right;
color: #888;
Expand All @@ -55,12 +55,12 @@ div.footer {
width: 650px;
margin: 0 auto 40px auto;
}

div.footer a {
color: #888;
text-decoration: underline;
}

div.related {
line-height: 32px;
color: #888;
Expand All @@ -69,18 +69,18 @@ div.related {
div.related ul {
padding: 0 0 0 10px;
}

div.related a {
color: #444;
}

/* -- body styles ----------------------------------------------------------- */

a {
color: #004B6B;
text-decoration: underline;
}

a:hover {
color: #6D4100;
text-decoration: underline;
Expand All @@ -89,7 +89,7 @@ a:hover {
div.body {
padding-bottom: 40px; /* saved for footer */
}

div.body h1,
div.body h2,
div.body h3,
Expand All @@ -109,24 +109,24 @@ div.indexwrapper h1 {
height: {{ theme_index_logo_height }};
}
{% endif %}

div.body h2 { font-size: 180%; }
div.body h3 { font-size: 150%; }
div.body h4 { font-size: 130%; }
div.body h5 { font-size: 100%; }
div.body h6 { font-size: 100%; }

a.headerlink {
color: white;
padding: 0 4px;
text-decoration: none;
}

a.headerlink:hover {
color: #444;
background: #eaeaea;
}

div.body p, div.body dd, div.body li {
line-height: 1.4em;
}
Expand Down Expand Up @@ -164,25 +164,25 @@ div.note {
background-color: #eee;
border: 1px solid #ccc;
}

div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
}

div.topic {
background-color: #eee;
}

div.warning {
background-color: #ffe4e4;
border: 1px solid #f66;
}

p.admonition-title {
display: inline;
}

p.admonition-title:after {
content: ":";
}
Expand Down Expand Up @@ -254,7 +254,7 @@ dl {
dl dd {
margin-left: 30px;
}

pre {
padding: 0;
margin: 15px -30px;
Expand Down

0 comments on commit a750471

Please sign in to comment.