Skip to content

Commit 2c03fbd

Browse files
[POLISH] Formating & linting (by pre-commit) + codacy changes - AIL-162
1 parent f022f37 commit 2c03fbd

File tree

18 files changed

+674
-554
lines changed

18 files changed

+674
-554
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ updates:
55
schedule:
66
interval: "daily"
77
time: "09:00"
8-
reviewers:
9-
- "@Learnosity/ai-labs-dev"
8+
reviewers:
9+
- "@Learnosity/ai-labs-dev"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contribution in the form of [PRs] are welcome.
44

5-
Why We Are No Longer Accepting Public Issues
5+
Why We Are No Longer Accepting Public Issues
66
After careful consideration, we’ve decided to discontinue accepting issues via GitHub Issues for our public repositories.
77

88
Here’s why:

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center"><img width="50%" height="50%" src="https://github.com/Learnosity/learnosity-sdk-python/blob/master/docs/images/image-logo-graphic.png?raw=true"></p>
22
<h1 align="center">Learnosity SDK - Python</h1>
3-
<p align="center">Everything you need to start building your app in Learnosity, with the Python programming language.<br>
3+
<p align="center">Everything you need to start building your app in Learnosity, with the Python programming language.<br>
44
(Prefer another language? <a href="https://help.learnosity.com/hc/en-us/sections/360000194318-Server-side-development-SDKs">Click here</a>)<br>
55
An official Learnosity open-source project.</p>
66

@@ -72,7 +72,7 @@ Then, if you're following the tutorial on this page, also run:
7272
pip install learnosity_sdk[quickstart]
7373

7474
### **Alternative method 1: download the zip file**
75-
Download the latest version of the SDK as a self-contained ZIP file from the [GitHub Releases](https://github.com/Learnosity/learnosity-sdk-python/releases) page. The distribution ZIP file contains all the necessary dependencies.
75+
Download the latest version of the SDK as a self-contained ZIP file from the [GitHub Releases](https://github.com/Learnosity/learnosity-sdk-python/releases) page. The distribution ZIP file contains all the necessary dependencies.
7676

7777
Note: after installation, run this command in the SDK root folder:
7878

@@ -163,7 +163,7 @@ host = "localhost"
163163
port = 8000
164164
```
165165

166-
Now we'll declare the configuration parameters for Items API. These specify which assessment content should be rendered, how it should be displayed, which user is taking this assessment and how their responses should be stored.
166+
Now we'll declare the configuration parameters for Items API. These specify which assessment content should be rendered, how it should be displayed, which user is taking this assessment and how their responses should be stored.
167167

168168
``` python
169169
items_request = {
@@ -252,10 +252,10 @@ The call to `init()` returns an instance of the ItemsApp, which we can use to pr
252252
The Jinja template is rendered by the following line, which will bring in those variables.
253253

254254
``` python
255-
response = template.render(name='Standalone Assessment Example', generated_request=generated_request)
255+
response = template.render(name='Standalone Assessment Example', generated_request=generated_request)
256256
```
257257

258-
There is some additional code in [standalone_assessment.py](docs/quickstart/assessment/standalone_assessment.py), which runs Python's built-in web server.
258+
There is some additional code in [standalone_assessment.py](docs/quickstart/assessment/standalone_assessment.py), which runs Python's built-in web server.
259259

260260
This marks the end of the quick start guide. From here, try modifying the example files yourself, you are welcome to use this code as a basis for your own projects. As mentioned earlier, the Jinja template used here can be easily re-used in another framework, for example Python Flask or Django.
261261

@@ -271,7 +271,7 @@ See a more detailed breakdown of all the SDK features, and examples of how to us
271271
### **Additional quick start guides**
272272
There are more quick start guides, going beyond the initial quick start topic of loading an assessment, these further tutorials show how to set up authoring and analytics:
273273
* [Authoring Items quick start guide](https://help.learnosity.com/hc/en-us/articles/360000754958-Getting-Started-With-the-Author-API) (Author API) - create and edit new Questions and Items for your Item bank, then group your assessment Items into Activities, and
274-
* [Analytics / student reporting quick start guide](https://help.learnosity.com/hc/en-us/articles/360000755838-Getting-Started-With-the-Reports-API) (Reports API) - view the results and scores from an assessment Activity.
274+
* [Analytics / student reporting quick start guide](https://help.learnosity.com/hc/en-us/articles/360000755838-Getting-Started-With-the-Reports-API) (Reports API) - view the results and scores from an assessment Activity.
275275

276276
### **Learnosity demos repository**
277277
On our [demo site](https://demos.learnosity.com/), browse through many examples of Learnosity API integration. You can also download the entire demo site source code, the code for any single demo, or browse the codebase directly on GitHub.
@@ -318,7 +318,7 @@ We use this data to enable better support and feature planning.
318318
[(Back to top)](#table-of-contents)
319319

320320
## Further reading
321-
Thanks for reading to the end! Find more information about developing an app with Learnosity on our documentation sites:
321+
Thanks for reading to the end! Find more information about developing an app with Learnosity on our documentation sites:
322322

323323
* [help.learnosity.com](http://help.learnosity.com/hc/en-us) -- general help portal and tutorials,
324324
* [reference.learnosity.com](http://reference.learnosity.com) -- developer reference site, and

REFERENCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,11 @@ print(signed_request)
292292
```
293293

294294
## Further reading
295-
Thanks for reading to the end! Find more information about developing an app with Learnosity on our documentation sites:
295+
Thanks for reading to the end! Find more information about developing an app with Learnosity on our documentation sites:
296296
<ul>
297297
<li><a href="http://help.learnosity.com">help.learnosity.com</a> -- general help portal and tutorials,
298298
<li><a href="http://reference.learnosity.com">reference.learnosity.com</a> -- developer reference site, and
299299
<li><a href="http://authorguide.learnosity.com">authorguide.learnosity.com</a> -- authoring documentation for content creators.
300300
</ul>
301301

302-
Back to [README.md](README.md)
302+
Back to [README.md](README.md)

0 commit comments

Comments
 (0)