-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
172 migrating from setuppy to pyprojecttoml (#173)
* - Moved all project settings to pyproject.toml - Added a minimal setup.cfg for flake8 - Changed setup.py to minimal file for backwards compatability - Added in flake8 and isort for mode code consistency - Added pre-commit hooks for flake8 and isort * Updated readme file * Updated files and accounted for flake8 and isort issues - Updated files with isort for consistent imports - Fixed all flake8 issues - Changed imports to ensure they are accepted by flake8, and fixed circular dependencies * Removed placeholder emails from pyproject.toml
- Loading branch information
1 parent
72faea2
commit 493af1b
Showing
28 changed files
with
337 additions
and
121 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
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 +1,3 @@ | ||
from jobfunnel.backend.job import Job, JobStatus | ||
|
||
__all__ = ["Job", "JobStatus"] |
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
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
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
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,3 +1,5 @@ | ||
from jobfunnel.backend.tools.tools import get_webdriver, get_logger, Logger | ||
from jobfunnel.backend.tools.tools import Logger, get_logger, get_webdriver | ||
|
||
__all__ = ["get_webdriver", "get_logger", "Logger"] | ||
|
||
# NOTE: we can't import delays here or we cause circular import. |
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
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,7 +1,20 @@ | ||
from jobfunnel.config.settings import SettingsValidator, SETTINGS_YAML_SCHEMA | ||
from jobfunnel.config.base import BaseConfig | ||
from jobfunnel.config.cli import build_config_dict, get_config_manager, parse_cli | ||
from jobfunnel.config.delay import DelayConfig | ||
from jobfunnel.config.manager import JobFunnelConfigManager | ||
from jobfunnel.config.proxy import ProxyConfig | ||
from jobfunnel.config.search import SearchConfig | ||
from jobfunnel.config.manager import JobFunnelConfigManager | ||
from jobfunnel.config.cli import parse_cli, get_config_manager, build_config_dict | ||
from jobfunnel.config.settings import SETTINGS_YAML_SCHEMA, SettingsValidator | ||
|
||
__all__ = [ | ||
"SettingsValidator", | ||
"SETTINGS_YAML_SCHEMA", | ||
"BaseConfig", | ||
"DelayConfig", | ||
"ProxyConfig", | ||
"SearchConfig", | ||
"JobFunnelConfigManager", | ||
"parse_cli", | ||
"get_config_manager", | ||
"build_config_dict", | ||
] |
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
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
Oops, something went wrong.
493af1b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a lot of changes there, but considering how long it has been, quite understandable.