Skip to content

Commit

Permalink
Merge pull request #293 from ucfopen/develop
Browse files Browse the repository at this point in the history
Release v0.14.0
  • Loading branch information
jessemcbride authored Aug 20, 2019
2 parents 93cbff5 + 4d80c2e commit 44cf6a6
Show file tree
Hide file tree
Showing 140 changed files with 10,962 additions and 9,456 deletions.
12 changes: 12 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,18 @@ We use `flake8` for linting:
flake8 canvasapi tests
```

We use `black` for auto-formatting. When you run the command below, `black` will automatically convert your code to our desired style.

```sh
black canvasapi tests
```

We require methods to be in alphabetical order for ease of reading. Run this script to confirm order:

```sh
python scripts/alphabetic.py
```

### Foolish consistency

> A foolish consistency is the hobgoblin of little minds. -- Ralph Waldo Emerson
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.7
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ script:
- coverage run -m unittest discover
- flake8 canvasapi tests
- mdl . .github
- ./scripts/run_black.sh
- python scripts/alphabetic.py
after_success:
- coveralls
notifications:
Expand Down
2 changes: 2 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Patches and Suggestions
- Ben Liblit [@liblit](https://github.com/liblit)
- Bill Wrbican [@wjw27](https://github.com/wjw27)
- Bradford Lynch [@bradfordlynch](https://github.com/bradfordlynch)
- Catherine Abbruzzese [@cat0698](https://github.com/cat0698))
- Daniel Brinkman [@DanBrink91](https://github.com/DanBrink91)
- Daniel Grobani [@dgrobani](https://github.com/dgrobani)
- David Warden [@dfwarden](https://github.com/dfwarden)
Expand Down Expand Up @@ -44,6 +45,7 @@ Patches and Suggestions
- Philip Austin [@phaustin](https://github.com/phaustin)
- Philip Carter [@phillyc](https://github.com/phillyc)
- Ralph Baird [@rmanbaird](https://github.com/rmanbaird)
- [@Screeeech](https://github.com/Screeeech)
- Sigurður Baldursson [@sigurdurb](https://github.com/sigurdurb)
- Spencer Rogers [@spencer1248](https://github.com/spencer1248)
- Stephen Woosley [@stephenwoosley](https://github.com/stephenwoosley)
Expand Down
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Change Log

## [0.14.0] - 2019-08-20

### New Endpoint Coverage

- API Token scopes (Thanks, [@jrsilveti](https://github.com/jrsilveti))
- List scopes
- Account Notifications (Thanks, [@jrsilveti](https://github.com/jrsilveti))
- Show a global notification
- Update a global notification
- Account Reports (Thanks, [@jrsilveti](https://github.com/jrsilveti))
- Start a report
- Status of a report
- Delete a report
- Collaborations (Thanks, [@jrsilveti](https://github.com/jrsilveti))
- List collaborations
- List members of a collaboration
- Feature Flags (Thanks, [@cat0698](https://github.com/cat0698))
- List features
- List enabled features
- Get feature flag
- Set feature flag
- Remove feature flag
- Rubric (Thanks, [@cat0698](https://github.com/cat0698))
- Create a single rubric

### General

- Removed overzealous global enabling of `DeprecationWarning`. (Thanks, [@Screeeech](https://github.com/Screeeech))
- *Note:* `DeprecationWarnings` are disabled by default, so you may need to run your code with `python -Wd` to see them.

## [0.13.0] - 2019-07-08

### New Endpoint Coverage
Expand Down Expand Up @@ -338,7 +368,7 @@ Huge thanks to [@liblit](https://github.com/liblit) for lots of issues, suggesti
- Fixed some incorrectly defined parameters
- Fixed an issue where tests would fail due to an improperly configured requires block

[Unreleased]: https://github.com/ucfopen/canvasapi/compare/v0.13.0...develop
[0.14.0]: https://github.com/ucfopen/canvasapi/compare/v0.13.0...v0.14.0
[0.13.0]: https://github.com/ucfopen/canvasapi/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/ucfopen/canvasapi/compare/v0.11.0...v0.12.0
[0.11.0]: https://github.com/ucfopen/canvasapi/compare/v0.10.0...v0.11.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![Build Status](https://travis-ci.org/ucfopen/canvasapi.svg?branch=master)](https://travis-ci.org/ucfopen/canvasapi)
[![Coverage Status](https://coveralls.io/repos/github/ucfopen/canvasapi/badge.svg?branch=master)](https://coveralls.io/github/ucfopen/canvasapi?branch=master)
[![Join UCF Open Slack Discussions](https://ucf-open-slackin.herokuapp.com/badge.svg)](https://ucf-open-slackin.herokuapp.com/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# CanvasAPI

Expand Down
2 changes: 1 addition & 1 deletion canvasapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

__all__ = ["Canvas"]

__version__ = '0.13.0'
__version__ = "0.14.0"
Loading

0 comments on commit 44cf6a6

Please sign in to comment.