Comments (2)
Hi there! The current way to run tests is with tox
. Once you have cloned the repo, run:
pip3 install --user tox
# run tests for all combinations of python and django versions
#(this will likely fail for some combinations, as you probably don't have multiple versions of python3 installed on your system)
tox
# run tests for a specific combination (here, django 3.1 on Python 3.9)
tox -e py39-django-31
All available combinations are described in the tox.ini
file, let me know if it's working for you.
Regarding flake8, I'm not surprised, Iย don't think I've applied linting recommendations since years. Using something like black
could be aa specific combination good idea to make the code more readable and solve a few flake8 in the process.
Apparently, Travis CI for open source projects is not free anymore. We'd have to migrate to something entirely different (possibly GitHub actions? I've never used it mysel though). I'd be happy to dedicate a few hours to help if you want to work on this!
from django-dynamic-preferences.
Closing because of inactivity, and we have migrated to github actions since then
from django-dynamic-preferences.
Related Issues (20)
- Default value is not applied back after clearing a preference HOT 3
- Support other cache than 'default' HOT 1
- "POST" API request not supported by GlobalPreferencesViewSet
- How to set a django setting dynamicly? HOT 4
- FloatPreference should be able to be initialized from both floats and ints
- Missing migration in version 1.12
- Not update affecting in Django channel HOT 1
- Divide preferences by section in the admin interface - Signals problem HOT 13
- Add support for Graphene-Django HOT 3
- PerInstancePreferenceAdmin raises MultipleObjectsReturned while saving a per instance preference
- django.core.files.uploadedfile.InMemoryUploadedFile not supported in s3transfer HOT 1
- RemovedInDjango41Warning: 'dynamic_preferences' defines default_app_config HOT 2
- ModelMultipleChoicePreference update not working HOT 2
- New release + Django 4 support? HOT 1
- Mocking global preferences when testing HOT 2
- Documentation about FilePreference is too light HOT 3
- make a release HOT 1
- Caching is not invalidated HOT 8
- Is it possible to access the preferences in annotations? HOT 1
- Tests do not run with Python 3.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-dynamic-preferences.