Skip to content

Conversation

@FabienArcellier
Copy link
Owner

No description provided.

* refact: implement logger functions that can be call directly
* feat: install platformdirs library to be able to fetch system directory as application directory or user directory that depends of the OS (linux, windows, ...)
* feat: implement ctx module to manage global context
Pipfile Outdated
fixtup = {path = ".", editable=true}
six = "*"

platformdirs = "*"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move platformdirs into setup.cfg dependency

enable_hooks: bool = True
enable_plugins: bool = True

# A chaque fois que fixtup.up est invoqué, fixtup redémarre comme si c'était une nouvelle exécution des
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translate this comment into english and delete line breaks

@FabienArcellier FabienArcellier force-pushed the configure-global-context-to-manage-runtime-configuration branch 2 times, most recently from 9c38273 to 39ba127 Compare June 24, 2023 05:32
* feat: implement ctx module to manage global context
* feat: remove factory module (not used anymore)
* feat: use global context in tests
@FabienArcellier FabienArcellier force-pushed the configure-global-context-to-manage-runtime-configuration branch from 39ba127 to b9b0775 Compare June 24, 2023 05:36
class Fixtup:

# Global settings
appname: str = 'fixtup'
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should use attr syntax for the attributes (here it's dataclass syntax)

appname = attr.ib(default='fixtup')

* feat: use context instead of read_settings
@FabienArcellier FabienArcellier force-pushed the configure-global-context-to-manage-runtime-configuration branch from 5a2ec80 to 220b95b Compare June 24, 2023 07:48
* feat: use simple implementation
* feat: attach fixture engine to fixtup context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant