Skip to content

Commit d2f1f49

Browse files
authored
Ultimate jobs fix (#159)
* fix search_jobs and tests rework search_jobs: - set correct parameter for the remote option and make it False by default - fix construction of the job filter - change calling function - add missing description of params fix tests: - remove unnecessary profile checks in test_get_profile - rework test_search_pagination - add param include_private_profiles=True in all profile searches - fix region format in test_search_people_by_region - fix data format in test_search_companies - fix argument name in test_search_jobs update environment: - remove misleading quotes in the .env.example - update pipfile.lock with recent versions * add missing new line at the end * add distance feature, adapt formatting - add distance feature in search_jobs() - add optional kwargs processing in search_jobs() - fix formatting with black - add instructions to contributing guidelines about black * update dependencies and fix mistype * fix pipfile.lock * rework pipfile.lock for linux environment
1 parent 6df00b2 commit d2f1f49

File tree

5 files changed

+392
-297
lines changed

5 files changed

+392
-297
lines changed

.env.example

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
LINKEDIN_USERNAME="[email protected]"
2-
LINKEDIN_PASSWORD="coolpasswordhere"
3-
TEST_PROFILE_ID="ACoAABQ11fIBQLGQbB1V1XPBZJsRwfK5r1U2Rzt"
4-
TEST_PUBLIC_PROFILE_ID="ACoAABQ11fIBQLGQbB1V1XPBZJsRwfK5r1U2Rzt"
5-
TEST_CONVERSATION_ID="6419123050114375168"
1+
LINKEDIN_USERNAME=[email protected]
2+
LINKEDIN_PASSWORD=coolpasswordhere
3+
TEST_PROFILE_ID=ACoAABQ11fIBQLGQbB1V1XPBZJsRwfK5r1U2Rzt
4+
TEST_PUBLIC_PROFILE_ID=ACoAABQ11fIBQLGQbB1V1XPBZJsRwfK5r1U2Rzt
5+
TEST_CONVERSATION_ID=6419123050114375168

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
1. Fork
44
1. Write some code (with tests if possible)
55
1. Write some docs
6+
1. Check code formatting.
7+
In project root folder run `black --check .`
8+
Proceed in case no issues found. Otherwise run `black .`
69
1. Run the tests (with your `pipenv shell` activated)
7-
810
```bash
911
python -m pytest tests -s
1012
```

0 commit comments

Comments
 (0)