Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from hugovk/updates
- Loading branch information
Showing
50 changed files
with
198 additions
and
1,393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Lint | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
FORCE_COLOR: 1 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cache/pip | ||
~/.cache/pre-commit | ||
key: | ||
lint-v1-${{ hashFiles('**/setup.py') }}-${{ | ||
hashFiles('**/.pre-commit-config.yaml') }} | ||
restore-keys: | | ||
lint-v1- | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install -U pip | ||
python -m pip install -U pre-commit | ||
- name: Lint | ||
run: pre-commit run --all-files --show-diff-on-failure | ||
env: | ||
PRE_COMMIT_COLOR: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
repos: | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.7.2 | ||
hooks: | ||
- id: pyupgrade | ||
args: ["--py36-plus"] | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 20.8b1 | ||
hooks: | ||
- id: black | ||
args: ["--target-version", "py36"] | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.5.3 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.3 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: [flake8-2020, flake8-implicit-str-concat] | ||
|
||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.6.0 | ||
hooks: | ||
- id: python-check-blanket-noqa | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/prettier/prettier | ||
rev: 2.1.1 | ||
hooks: | ||
- id: prettier | ||
args: [--prose-wrap=always, --print-width=88] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
## Contributing other photos | ||
|
||
If GPO doesn't have a photo for someone in their member guide, we may be willing to accept a photo from another source. | ||
If GPO doesn't have a photo for someone in their member guide, we may be willing to | ||
accept a photo from another source. | ||
|
||
In this case, [open a ticket](https://github.com/unitedstates/images/issues/new), and include: | ||
In this case, [open a ticket](https://github.com/unitedstates/images/issues/new), and | ||
include: | ||
|
||
* The name and Bioguide ID of the member of Congress. | ||
* A link to the image you're suggesting we incorporate, and to a page that displays that image. | ||
* Why you believe the image is definitely official and in the public domain. | ||
- The name and Bioguide ID of the member of Congress. | ||
- A link to the image you're suggesting we incorporate, and to a page that displays that | ||
image. | ||
- Why you believe the image is definitely official and in the public domain. | ||
|
||
When submitting a PR for an image found outside of the GPO, use the URL for the **context** of the photo, not the image source URL, as the value for `link: ` in `metadata/*.yaml`. | ||
When submitting a PR for an image found outside of the GPO, use the URL for the | ||
**context** of the photo, not the image source URL, as the value for `link: ` in | ||
`metadata/*.yaml`. | ||
|
||
## Public domain | ||
|
||
The project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication][CC0]. | ||
The project is in the public domain within the United States, and copyright and related | ||
rights in the work worldwide are waived through the [CC0 1.0 Universal public domain | ||
dedication][cc0]. | ||
|
||
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest. | ||
All contributions to this project will be released under the CC0 dedication. By | ||
submitting a pull request, you are agreeing to comply with this waiver of copyright | ||
interest. | ||
|
||
[CC0]: http://creativecommons.org/publicdomain/zero/1.0/ | ||
[cc0]: http://creativecommons.org/publicdomain/zero/1.0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* [ ] *I'm acknowledging that my submission is free of all known copyright in at least the United States.* (In general, works of the federal government should satisfy this criteria.) | ||
|
||
- [ ] _I'm acknowledging that my submission is free of all known copyright in at least | ||
the United States._ (In general, works of the federal government should satisfy | ||
this criteria.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: | ||
name: Office of Anthony Brown | ||
link: https://anthonybrown.house.gov/sites/anthonybrown.house.gov/files/wysiwyg_uploaded/official.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=78590567 | ||
link: https://commons.wikimedia.org/w/index.php?curid=78590567 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=80784529 | ||
link: https://commons.wikimedia.org/w/index.php?curid=80784529 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=76586796 | ||
link: https://commons.wikimedia.org/w/index.php?curid=76586796 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=75585145 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75585145 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=81932819 | ||
link: https://commons.wikimedia.org/w/index.php?curid=81932819 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=79245159 | ||
link: https://commons.wikimedia.org/w/index.php?curid=79245159 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: House Creative Services | ||
link: https://commons.wikimedia.org/w/index.php?curid=93516904 | ||
link: https://commons.wikimedia.org/w/index.php?curid=93516904 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: @Rep_Matt_Gaetz - Twitter | ||
name: "@Rep_Matt_Gaetz - Twitter" | ||
link: https://twitter.com/Rep_Matt_Gaetz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: @RepJoshG - Twitter | ||
name: "@RepJoshG - Twitter" | ||
link: https://twitter.com/RepJoshG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=84184710 | ||
link: https://commons.wikimedia.org/w/index.php?curid=84184710 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: United States Congress | ||
link: https://commons.wikimedia.org/w/index.php?curid=75592712 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75592712 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House of Representatives | ||
link: https://commons.wikimedia.org/w/index.php?curid=75580048 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75580048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: House Creative Services | ||
link: https://commons.wikimedia.org/w/index.php?curid=86984657 | ||
link: https://commons.wikimedia.org/w/index.php?curid=86984657 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: Senate Committee on the Judiciary | ||
name: Senate Committee on the Judiciary | ||
link: https://www.judiciary.senate.gov/about/members |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: US House of Representativess | ||
link: https://commons.wikimedia.org/w/index.php?curid=75597669 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75597669 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House of Representatives | ||
link: https://commons.wikimedia.org/w/index.php?curid=92583419 | ||
link: https://commons.wikimedia.org/w/index.php?curid=92583419 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: @RepKihuen - Twitter | ||
name: "@RepKihuen - Twitter" | ||
link: https://twitter.com/RepKihuen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: House Creative Services | ||
link: https://commons.wikimedia.org/w/index.php?curid=80784651 | ||
link: https://commons.wikimedia.org/w/index.php?curid=80784651 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: Wikimedia Commons | ||
link: https://commons.wikimedia.org/wiki/File:Al_Lawson_115th_Congress_photo.jpg | ||
link: https://commons.wikimedia.org/wiki/File:Al_Lawson_115th_Congress_photo.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: Office of Senator Kelly Loeffler | ||
link: https://commons.wikimedia.org/w/index.php?curid=85928962 | ||
link: https://commons.wikimedia.org/w/index.php?curid=85928962 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: House Creative Services | ||
link: https://commons.wikimedia.org/w/index.php?curid=93421269 | ||
link: https://commons.wikimedia.org/w/index.php?curid=93421269 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House of Representatives | ||
link: https://commons.wikimedia.org/w/index.php?curid=75580991 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75580991 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. Congress | ||
link: https://commons.wikimedia.org/w/index.php?curid=83284876 | ||
link: https://commons.wikimedia.org/w/index.php?curid=83284876 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: United States Congress | ||
link: https://commons.wikimedia.org/w/index.php?curid=75731216 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75731216 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: U.S. House Office of Photography | ||
link: https://commons.wikimedia.org/w/index.php?curid=79199722 | ||
link: https://commons.wikimedia.org/w/index.php?curid=79199722 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: United States Congress | ||
link: https://commons.wikimedia.org/w/index.php?curid=75591621 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75591621 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: United States House of Representatives | ||
link: https://commons.wikimedia.org/w/index.php?curid=75552783 | ||
name: United States House of Representatives | ||
link: https://commons.wikimedia.org/w/index.php?curid=75552783 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
name: United States Congress | ||
link: https://commons.wikimedia.org/w/index.php?curid=75644409 | ||
link: https://commons.wikimedia.org/w/index.php?curid=75644409 |
Oops, something went wrong.