Skip to content

Commit a8c43bd

Browse files
committed
fix trailing whitespaces and end of file
1 parent d492806 commit a8c43bd

File tree

229 files changed

+647
-690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+647
-690
lines changed

.csslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
"oioioi/portals/static/portals/jqtree.css",
1313
"oioioi/timeline/static/jquery-ui"
1414
]
15-
}
15+
}

.github/workflows/ruff.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
- uses: chartboost/ruff-action@v1
1616
with:
1717
src: "./oioioi"
18-
version: 0.0.265
18+
version: 0.0.265

.jshintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ oioioi/liveranking/static/liveranking/js/d3*.js
1414
oioioi/liveranking/static/liveranking/js/jq*.js
1515

1616
oioioi/timeline/static/jquery-ui/*.js
17-
oioioi/timeline/static/moment/*.js
17+
oioioi/timeline/static/moment/*.js

.readthedocs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ build:
2222
- python3 -m pip install --upgrade --no-cache-dir "setuptools<58.0.0"
2323
post_system_dependencies:
2424
- echo "Command run at 'post_system_dependencies' step"
25-
25+
2626

2727
# Build documentation in the docs/ directory with Sphinx
2828
sphinx:

.tx/config

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ file_filter = oioioi/_locale/locale/<lang>/LC_MESSAGES/djangojs.po
1212
source_file = oioioi/_locale/locale/en/LC_MESSAGES/djangojs.po
1313
source_lang = en
1414
type = PO
15-

GUIDE.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ newgrp docker
2626
```
2727

2828
All the commands below are being run in `oioioi` directory (main directory of the repository).
29-
In order to use `easy_toolbox.py` alternative method, check python package requirements in `easy_toolbox.py`.
29+
In order to use `easy_toolbox.py` alternative method, check python package requirements in `easy_toolbox.py`.
3030

31-
To build OIOIOI image run
31+
To build OIOIOI image run
3232
```bash
3333
OIOIOI_UID=$(id -u) docker-compose -f docker-compose-dev.yml -f extra/docker/docker-compose-dev-noserver.yml build
3434
```
3535
or
3636
```bash
37-
./easy_toolbox.py build
37+
./easy_toolbox.py build
3838
```
3939

4040
Set your containers up and running
@@ -103,12 +103,12 @@ As mentioned above GitHub Actions replaced most of the Hudson jobs. Right now th
103103
- Transifex translations uploader
104104

105105
## Deployment
106-
No changes can be seen on `szkopul.edu.pl` without deployment.
106+
No changes can be seen on `szkopul.edu.pl` without deployment.
107107
@twalen is responsible for conducting the deployments, and they are usually done during
108108
maintenance window (see `szkopul.edu.pl` main page for details).
109109

110-
During deployment translation files are being uploaded and downloaded. The translation manager is
111-
[Transifex](https://www.transifex.com/sio2project/sio2project/dashboard/). When you add localized text
110+
During deployment translation files are being uploaded and downloaded. The translation manager is
111+
[Transifex](https://www.transifex.com/sio2project/sio2project/dashboard/). When you add localized text
112112
to OIOIOI it is uploaded to Transifex with GitHub Action and later, when translated, downloaded,
113113
compiled and saved to the codebase. (Both of these jobs need to be run manually).
114114

@@ -119,20 +119,20 @@ Ticketing was moved to GitHub Issues.
119119
## FAQ
120120

121121
### When to use `./easy_toolbox.py build`?
122-
Essentially, it is not easy to answer.
122+
Essentially, it is not easy to answer.
123123
Firstly, let's understand what each of the commands does.
124-
As you may already know, SIO2 development environment works in containerized infrastructure.
125-
We have four containers up and running, required for SIO2 to work properly.
126-
Database (`db`), RabbitMQ (`broker`), Worker (`worker`) and OIOIOI (`web`).
127-
Postgres and RabbitMQ already have existing docker images on Docker Hub.
128-
We only need to build (here comes the magic word) SIO dependent images.
129-
`Dockerfile` defines what steps are to be done in order to create the environment.
130-
Once you built the image, you can set the container up.
131-
Remember - things like dependencies (`requirements[_static].txt`, `setup.py`) are downloaded during the built,
132-
so if you changed something in those places you either need to build the image again,
133-
or apply these changes by hand (e.g. do `pip install`).
134-
If you have good internet connection and adequate CPU, it shouldn't be hard to build the image again,
135-
especially that it is more stable approach.
124+
As you may already know, SIO2 development environment works in containerized infrastructure.
125+
We have four containers up and running, required for SIO2 to work properly.
126+
Database (`db`), RabbitMQ (`broker`), Worker (`worker`) and OIOIOI (`web`).
127+
Postgres and RabbitMQ already have existing docker images on Docker Hub.
128+
We only need to build (here comes the magic word) SIO dependent images.
129+
`Dockerfile` defines what steps are to be done in order to create the environment.
130+
Once you built the image, you can set the container up.
131+
Remember - things like dependencies (`requirements[_static].txt`, `setup.py`) are downloaded during the built,
132+
so if you changed something in those places you either need to build the image again,
133+
or apply these changes by hand (e.g. do `pip install`).
134+
If you have good internet connection and adequate CPU, it shouldn't be hard to build the image again,
135+
especially that it is more stable approach.
136136

137137
### When to use `./easy_toolbox.py up`?
138138
Whenever you don't have the containers up.
@@ -151,8 +151,8 @@ If not, check the output of `docker ps -a` and `docker logs <container_name>`.
151151
### When to use `./easy_toolbox.py run`?
152152
Whenever you want the Django web service to be running.
153153
In development environment we use dev server, so it should catch all changes in the code.
154-
You can have the server running all the time - just make sure,
155-
that Django discovered your changes
154+
You can have the server running all the time - just make sure,
155+
that Django discovered your changes
156156
(the server will restart with appropriate message like "detected changes in file `xyz.py`").
157157

158158
### What to do when I get permission denied error?

INSTALL.rst

-1
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,3 @@ needed when installing OIOIOI in a pristine Ubuntu Server 12.04 LTS (Precise
246246
Pangolin):
247247

248248
* *libz* (Ubuntu package: *zlib1g:i386*)
249-

LICENSE

-1
Original file line numberDiff line numberDiff line change
@@ -672,4 +672,3 @@ may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674674
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
675-

db_init.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ set -x
88

99
if [[ -v CREATE_SUPERUSER ]]; then
1010
./manage.py loaddata ../oioioi/oioioi_selenium/data.json;
11-
fi
11+
fi

docker-compose-selenium.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ services:
5252
volumes:
5353
- /dev/shm:/dev/shm
5454
depends_on:
55-
- selenium-hub
55+
- selenium-hub

extra/amanda/README

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ In this sample configuration, SSH was configured as described here:
1111
https://wiki.zmanda.com/index.php/How_To:Set_up_transport_encryption_with_SSH
1212
And PostgreSQL was configured as described here:
1313
http://wiki.zmanda.com/index.php/How_To:Use_Amanda_to_Back_Up_PostgreSQL
14-

extra/amanda/client_config/amanda-client.conf

-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ tapedev "" # your tape device
2121
auth "ssh"
2222

2323
ssh_keys "/root/.ssh/id_rsa_amrecover" # your ssh keys file if you use ssh auth
24-

extra/easy-install/oioioi.sh

-1
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,3 @@ case "$1" in
215215
echot "Invalid command!"
216216
;;
217217
esac
218-

oioioi/_locale/locale/de/LC_MESSAGES/django.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Translators:
77
# Alicja Kluczek <[email protected]>, 2021

oioioi/_locale/locale/de/LC_MESSAGES/djangojs.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Translators:
77
# Alicja Kluczek <[email protected]>, 2021

oioioi/_locale/locale/en/LC_MESSAGES/djangojs.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Accounts-Payable - Alkemics, 2015
77
# Chen-Do LU <[email protected]>, 2015

oioioi/_locale/locale/pl/LC_MESSAGES/django.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Translators:
77
# Accounts-Payable - Alkemics, 2015

oioioi/_locale/locale/pl/LC_MESSAGES/djangojs.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Translators:
77
# Accounts-Payable - Alkemics, 2015

oioioi/balloons/templates/balloons/balloon.svg

+3-3
Loading

oioioi/base/static/admin/js/actions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,4 @@
200200
Actions(actionsEls);
201201
}
202202
});
203-
}
203+
}

0 commit comments

Comments
 (0)