chrisbillows / raindrop-todoist-syncer

Converts favourited Raindrops into tasks in Todoist.
2 stars 1 forks source link

Restructure repo #50

Closed chrisbillows closed 6 months ago

chrisbillows commented 6 months ago

Follow basic guide: PyPA

raindrop_todoist_syncer/
├── .gitignore
├── .github
├── .pre-commit
├── LICENSE
├── pyproject.toml
├── README.md
├── src/
│   └── raindrop_todoist_syncer/
│       ├── __init__.py
|       ├── env_manage.py
|       ├── env_validate.py
│       ├── main.py
│       ├── rd_token.py
│       ├── rd_class.py
│       ├── rd_client.py
│       ├── rd_credentials.py
│       ├── rd_process.py
|       ├── db_manage.py
│       └── td_task_create.py
| 
└── tests/
│       ├── __init__.py
│       ├── conftest.py
│       ├── unit/
│       |   |── test_rd_class.py 
│       |   |── test_rd_client.py
│       |   |── test_rd_credentials.py
│       |   |── test_rd_process.py
│       |   |── test_db_manager.py
│       |   |── test_env_file_manage.py
│       |   |── test_td_class.py
│       |   └── test_td_tasks_create.py 
│       └── intergration/
│           |── test_main.py
│           └── test_rd_token.py 

General Tidy-up

Renaming

chrisbillows commented 6 months ago

Refactor/Rename modules

Create each, move code, update imports and ensure tests pass.

chrisbillows commented 6 months ago

Refactor/Rename tests

Was so simple no list required. 💃

chrisbillows commented 6 months ago

Refine names

I want to make these two changes: