Skip to content

Commit 9d8633b

Browse files
authored
Merge pull request #62 from creativecommons/issue60
trivial updates to PR #61 (addressing issue #60)
2 parents 92b3a7c + 5e197ba commit 9d8633b

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,18 @@ modules:
3939
- macOS:
4040
1. Install [Homebrew][homebrew]
4141
2. Install pipenv:
42-
```
42+
```shell
4343
brew install pipenv
4444
```
45+
3. Create the Python virtual environment and install prerequisites using
46+
`pipenv`:
47+
```shell
48+
pipenv sync --dev
49+
```
50+
4. Then you can run the static analysis tools:
51+
```shell
52+
./tools.sh
53+
```
4554

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

7686
[ccospyguide]: https://opensource.creativecommons.org/contributing-code/python-guidelines/
7787
[black]: https://github.com/psf/black

flickr/data_cleaning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def save_new_data(
5757

5858

5959
def main():
60-
drop_empty_column("final.csv", "dataset/cleaned_license10.csv")
60+
drop_empty_column("hs.csv", "dataset/cleaned_license10.csv")
6161
drop_duplicate_id(
6262
"dataset/cleaned_license10.csv", "dataset/cleaned_license10.csv"
6363
)

0 commit comments

Comments
 (0)