Skip to content

Commit

Permalink
Merge pull request #62 from creativecommons/issue60
Browse files Browse the repository at this point in the history
trivial updates to PR #61 (addressing issue #60)
  • Loading branch information
TimidRobot authored Aug 10, 2023
2 parents 92b3a7c + 5e197ba commit 9d8633b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,18 @@ modules:
- macOS:
1. Install [Homebrew][homebrew]
2. Install pipenv:
```
```shell
brew install pipenv
```
3. Create the Python virtual environment and install prerequisites using
`pipenv`:
```shell
pipenv sync --dev
```
4. Then you can run the static analysis tools:
```shell
./tools.sh
```

[pipenvdocs]: https://pipenv.pypa.io/en/latest/
[homebrew]: https://brew.sh/
Expand Down Expand Up @@ -71,7 +80,8 @@ To successfully run scripts that require client credentials, you will need to fo
- [Black][black]: the uncompromising Python code formatter
- [flake8][flake8]: a python tool that glues together pep8, pyflakes, mccabe,
and third-party plugins to check the style and quality of some python code.
- [isort][isort]: A Python utility / library to sort imports.
- [isort][isort]: A Python utility / library to sort imports
- (It doesn't import any libraries, it only sorts and formats them.)

[ccospyguide]: https://opensource.creativecommons.org/contributing-code/python-guidelines/
[black]: https://github.com/psf/black
Expand Down
2 changes: 1 addition & 1 deletion flickr/data_cleaning.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def save_new_data(


def main():
drop_empty_column("final.csv", "dataset/cleaned_license10.csv")
drop_empty_column("hs.csv", "dataset/cleaned_license10.csv")
drop_duplicate_id(
"dataset/cleaned_license10.csv", "dataset/cleaned_license10.csv"
)
Expand Down

0 comments on commit 9d8633b

Please sign in to comment.