generated from MasoniteFramework/starter-package
-
-
Notifications
You must be signed in to change notification settings - Fork 50
Transition 2.0 to 3.0 #939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
josephmancuso
merged 411 commits into
MasoniteFramework:3.x
from
circulon:feature/2.0_to_3.0
Jun 11, 2025
Merged
Changes from all commits
Commits
Show all changes
411 commits
Select commit
Hold shift + click to select a range
22a5c01
black formatted
josephmancuso e8c6a50
Added method "only" to model class.
5da5423
updated only to support aliasing attribute names. This can be useful …
bf8ff3f
Update Model.py
JarriqTheTechie 57aa5cf
Update setup.py
josephmancuso 1492f7a
fixed issue. needs refactoring
josephmancuso 7297bac
removed prints
josephmancuso b44e74f
fixed php ini
josephmancuso 0afd57e
formatted
josephmancuso ea7f06e
format
josephmancuso 5eb85f2
Merge branch 'features/only' of https://github.com/JarriqTheTechie/or…
josephmancuso b9ba91d
added check for strings
josephmancuso 427fc9d
added tests
josephmancuso 98a6393
Merge pull request #866 from JarriqTheTechie/features/only
josephmancuso c11fcc4
Merge pull request #868 from MasoniteFramework/fix/816
josephmancuso 1a3b0c4
BaseRelationship: s/self/instance
pmn4 378b8c3
Mysql close the connection on rollback
felipehertzer 6f44e9b
feat: add `Collection.min` method
amirhoseinsalimi 61749cc
fix: fix a typo in docs of `Collection.max`
amirhoseinsalimi e7defe2
Merge pull request #870 from felipehertzer/patch-1
josephmancuso 11fd4d9
Merge pull request #872 from amirhoseinsalimi/patch-1
josephmancuso f487eaa
Merge branch 'feature/collection-min' of https://github.com/amirhosei…
josephmancuso 3bc3406
added min test
josephmancuso 1ea4d60
Merge pull request #874 from amirhoseinsalimi/feature/collection-min
josephmancuso cc30732
linted
josephmancuso f963387
Update setup.py
josephmancuso 29426df
wip: hasmany performance fix
eaguad1337 a6a5eea
fixed tests and made attempt
josephmancuso 64585fb
fix: tests
eaguad1337 9393f8e
fix: foreign key call
eaguad1337 41c49c4
removed print
josephmancuso d6f2528
Merge pull request #880 from MasoniteFramework/fix/relationship-perfo…
josephmancuso 6f93468
Update setup.py
josephmancuso c9e7617
Merge pull request #869 from pmn4/pmn4.base-relationship
josephmancuso 2916fc4
add configuration option to enable or disable foreign keys check for …
martinszemitis 0524421
Merge pull request #883 from martinszemitis/2.0
josephmancuso f670552
fix: values in compile_alter_sql
Kyrela fff45ac
lint: remove additional blank line at end of file
Kyrela 8e6a27b
tests: `test_can_add_column_enum` and `test_can_change_column_enum`
Kyrela ec31a17
tests: `test_can_add_enum`
Kyrela ab39abf
fix: values in compile_alter_sql
Kyrela 736eaf8
fixed query builder
josephmancuso 5649282
Merge pull request #885 from Kyrela/2.0
josephmancuso e4459d6
fixed has many though relationship
josephmancuso 25a965a
fixed has many
josephmancuso 8c9a6bb
fixed querybuilder
josephmancuso bff9d8b
fixed eager load
josephmancuso 100c791
Merge pull request #890 from MasoniteFramework/hotfix/has-many
josephmancuso 0d0411f
bumped version
josephmancuso a43ed0e
Merge branch '2.0' of https://github.com/MasoniteFramework/orm into h…
josephmancuso 15eca45
Merge pull request #889 from MasoniteFramework/hotfix/fix-has_many_th…
josephmancuso e2bb610
bumped version
josephmancuso 26fcdba
fixed missing where on has many through relationship
josephmancuso 60c8d1e
Merge pull request #891 from MasoniteFramework/hotfix/has-many-throug…
josephmancuso 637ae01
bumped version
josephmancuso 4671816
fixed version
josephmancuso 2649b5d
use scopes helper method
circulon c9f4065
make QueryBuilder find respect scopes
circulon c4bc92b
Added modles testts using scope
circulon f4dda56
consolidate duplicated calls
circulon 1ca31b1
Fixed queryBuilder .all() test
circulon 7e07531
fixed query=True not returning builder
circulon 10e6478
use raw sql for clarity
circulon 27760ed
updated Model find and create
circulon 43a80e5
moved find scope tests in with other tests
circulon 7e2e551
Fixed HasOneThrough not loading distant model
circulon 1ac4d29
Fixed HasOneThrough with additional queries
circulon 4f41fc9
Fixed tests
circulon 9cdf560
Update pendulum version requirement
josephmancuso 511e20c
Update pendulum version requirement
josephmancuso d534e28
Update pendulum version requirement
josephmancuso 4114949
Merge pull request #898 from MasoniteFramework/feature/876-1
josephmancuso d5433af
Update setup.py
josephmancuso 817e44e
removed unused importsa and duplicate test
circulon 79fad5f
Fixed linting
circulon 59e6d1b
Fixed typos
circulon 7d30357
Fixed eager loading
circulon 80aeb84
Added tests for HasOneThrough eager loading
circulon cd40bf9
removed unused import
circulon ad33eff
removed unused imports
circulon d377d37
Fixed using .first()
circulon 19eda09
Refactor MySQLConnection to use connection pooling
josephmancuso 8a66a07
Update version and dependencies in setup.py
josephmancuso fd7d200
Refactor PostgresConnection to use connection pooling
josephmancuso e033bfd
fixed .on_null and .on_not_null had to be last criteria
circulon afb140b
updated tests fo .on_null and .on_not_null
circulon 1efddf6
Merge pull request #901 from circulon/fix/on_null_always_last_criteria
josephmancuso 8d5da73
Merge pull request #893 from circulon/fix/find_cannot_use_scopes
josephmancuso 55ff6dd
Merge pull request #895 from circulon/fix/has_one_through_not_working
josephmancuso 3ff0a83
Refactor MySQLConnection to use connection pooling
josephmancuso bc08c93
Refactor MySQLConnection to use connection pooling and add connection…
josephmancuso 28418eb
Refactor MySQLConnection to use connection pooling and initialize con…
josephmancuso 341db08
Refactor MySQLConnection to use connection pooling and remove debug p…
josephmancuso 1ad5ad7
Refactor MySQLConnection to use connection pooling and update connect…
josephmancuso ba7372f
Refactor MySQLConnection to use connection pooling and update connect…
josephmancuso cf9bc84
Refactor MySQLConnection to use connection pooling and update connect…
josephmancuso 3010894
Refactor MySQLConnection to use connection pooling and update connect…
josephmancuso db112ca
format
josephmancuso 8291bc7
Refactor PostgresConnection to use connection pooling and update conn…
josephmancuso 4cbd0e4
Refactor PostgresConnection to remove unused variable
josephmancuso a4656b9
Refactor PostgresConnection to enable connection pooling with a maxim…
josephmancuso 6a237fa
Refactor database configuration to update connection pool minimum size
josephmancuso 6c4ff02
Refactor SQLiteConnection to use a separate method for creating the c…
josephmancuso d14c826
Refactor SQLiteConnection to use a separate method for creating the c…
josephmancuso 76590f8
linted
josephmancuso d28435b
Refactor PostgresConnection to handle closed connections during query…
josephmancuso 9475b9e
Refactor PostgresConnection to handle closed connections during query…
josephmancuso 09d082b
Refactor MySQLConnection to handle closed connections during query ex…
josephmancuso e466282
Refactor MySQLConnection to handle closed connections during query ex…
josephmancuso 94b1347
Refactor MySQLConnection to handle closed connections during query ex…
josephmancuso fd6785f
linted
josephmancuso 0468c45
Refactor MySQLConnection to handle closed connections during query ex…
josephmancuso d7a8895
Merge branch '2.0' into fix/query_true_should_return_query_builder
josephmancuso 15894aa
Merge pull request #892 from circulon/fix/query_true_should_return_qu…
josephmancuso 7a6e7a8
linted
josephmancuso 9cb1d47
fixed HasManyThrough eager loading
circulon bd10fce
fixed HasManyThrough related model load
circulon 928bbb7
cleaned up and fixed where clauses for HasManyThrough
circulon c13750e
separated HasOneThrough and HasManyThrough tests
circulon a3e775b
fixed queriy tests
circulon ab9308a
make sure related attribute always contains a Collection
circulon f0c2359
Added ability so specify default select criteria for Models
circulon 3451fd6
Merge pull request #904 from circulon/feature/902
josephmancuso ce25c0a
Merge pull request #900 from MasoniteFramework/feature/483
josephmancuso bd6e473
Refactor PostgresConnection to support SSL options
josephmancuso 2e4c2fe
Merge pull request #905 from MasoniteFramework/feature/875-1
josephmancuso 7e86c33
use passed in parameters
circulon 97eaa57
fixed parameter name
circulon 58edcde
renamed table variables
circulon 8193bf3
fix nested relation
pbellerive 93c7a38
Add Radon analysis workflow for cyclomatic complexity checks
josephmancuso 54f561c
Enhance Radon analysis workflow to capture and output cyclomatic comp…
josephmancuso 72e3347
Update Radon analysis workflow to save cyclomatic complexity output t…
josephmancuso 29551f8
test
josephmancuso efc9567
Update Radon analysis workflow to set output using GitHub environment…
josephmancuso 162fced
Update Radon analysis workflow to use set-output for environment vari…
josephmancuso e364693
Refactor Radon analysis workflow to streamline output handling and re…
josephmancuso fe5a784
Update Radon analysis workflow to set output using GitHub environment…
josephmancuso 0d34132
Update Radon analysis workflow to enhance reporting and streamline co…
josephmancuso 84b168e
Update Radon comment action to use version 0.1
josephmancuso a0534d8
Fix version tag for Radon comment action in workflow
josephmancuso c50c9dc
Add installation step for Radon in analysis workflow
josephmancuso 49a2427
Update Radon analysis workflow to report on changed files only
josephmancuso 12a2132
Update Radon analysis workflow to use the latest commit for reporting
josephmancuso c3e3ce7
Update Radon analysis workflow to use the correct base branch for rep…
josephmancuso 6e716cd
Add test comment in __setitem__ method of Collection class
josephmancuso d4bd425
Fix Radon analysis workflow to use the correct branch reference for r…
josephmancuso a01f769
Update Radon analysis workflow to use the correct range for changed f…
josephmancuso 86daadf
Handle empty file lists in Radon analysis workflow to prevent errors
josephmancuso f62592e
Refactor Radon analysis workflow to support both push and pull_reques…
josephmancuso 07b3a0b
Simplify git fetch command in Radon analysis workflow to ensure full …
josephmancuso 1f82378
Update Radon analysis workflow to use the correct base branch for cha…
josephmancuso af80dd2
Refactor Radon analysis workflow to trigger on pull requests and stre…
josephmancuso b28e152
Update Radon analysis workflow to trigger on pull requests for the 2.…
josephmancuso 583a32f
Add Radon installation step to analysis workflow
josephmancuso 97a853e
Add printing of Radon reports in analysis workflow
josephmancuso 1742970
Enhance Radon analysis workflow to trigger on Python file changes and…
josephmancuso dc4a53d
Enhance Radon analysis workflow to fetch full git history and debug c…
josephmancuso 3a97cb3
Refine Radon analysis workflow to improve environment variable handli…
josephmancuso 59fd976
Add granular Radon analysis workflow for method-level change detection
josephmancuso 85b0643
Refine Radon analysis workflow to accurately match methods with chang…
josephmancuso 7657fa4
Refine Radon analysis workflow to capture raw output and improve meth…
josephmancuso a820a13
Remove granular Radon analysis workflow configuration
josephmancuso be07de7
wip
josephmancuso bb2317b
test
josephmancuso 0fd0744
Remove commented test line and clean up migration command help text f…
josephmancuso c9055e9
Merge pull request #908 from MasoniteFramework/feature/radon
josephmancuso a844ce6
Merge branch 'fix/has_many_through_not_working' of https://github.com…
josephmancuso 5da7c38
Merge pull request #903 from circulon/fix/has_many_through_not_working
josephmancuso 7b3c2f1
Merge branch 'feature/906' of https://github.com/pbellerive/masonite_…
josephmancuso 1d70063
Refactor relationship mapping in QueryBuilder and related classes
josephmancuso 9a97947
Remove Radon analysis workflow from GitHub Actions
josephmancuso 08a0dee
Add map_related method to HasMany relationship for grouping related r…
josephmancuso 588e601
Add map_related method to BelongsTo relationship for grouping related…
josephmancuso a77d0b3
Add map_related method to HasOne and HasOneThrough relationships for …
josephmancuso 4cc4ddc
Add map_related method to HasManyThrough relationship for grouping re…
josephmancuso 6ae0ceb
linted
josephmancuso f906846
Fix missing newline at end of file in HasManyThrough relationship
josephmancuso fca57b0
Refactor map_related method in HasOne relationship to return related …
josephmancuso 9c2964d
remove group by
pbellerive 004ba6b
Merge branch 'feature/906' of https://github.com/pbellerive/masonite_…
josephmancuso 954a63a
Merge pull request #907 from pbellerive/feature/906
josephmancuso ccf9025
Update setup.py
josephmancuso 11743db
Fixed using model default select columns correctly
circulon e9008ae
Fixed and added tests
circulon 3970262
Cleanup
circulon 675dd1f
Merge pull request #912 from circulon/fix/allow_override_of_model_def…
josephmancuso 44ec039
Update setup.py
josephmancuso 6303b80
Added where_not_in to Collection
circulon 153c6e2
Check if args are all string ints first
circulon c2d37d7
fixed attach not working for unsaved models
circulon 3aed0d9
Merge pull request #918 from circulon/feature/collection_add_where_no…
josephmancuso 5b3f7ad
moved eexception for not implemented methods to BaseRelationship
circulon 6ceecdc
added methods previously in BaseRelationship back into required classes
circulon 8b9f60c
sorted and black relationships
circulon f4d08e8
Fixed typo
circulon 2b56578
aded attach/detach tests for HasOne and BelongsTo
circulon 8157921
removed accidently duplicated method
circulon b10cc4f
removed redundant parameters
circulon ce75d40
Added some comments
circulon 21ff105
Moved customisations to relationship classes
circulon c1881c7
changed nested pass logic in favour of fail early and readability
circulon afc8522
enabled testing of increment, decrement and truncate queries
circulon 39af1c2
fixed raw QueryBuilder could not use .find methods
circulon 0ebd140
added tests
circulon 3643921
Fixed OFFSET with sqlite throwing syntax error
circulon 78ebcdc
Merge pull request #930 from circulon/fix/929
josephmancuso 6c189f0
Merge pull request #926 from circulon/fix/925
josephmancuso 5282d49
Merge pull request #928 from circulon/fix/927
josephmancuso 983ab32
Merge pull request #924 from circulon/fix/923
josephmancuso 7e42fc3
Merge branch '2.0' of https://github.com/MasoniteFramework/orm into t…
circulon 1843dea
fixed having location in query string
circulon 016e742
Fixed increment and decrement not returning builder
circulon 2edf3cb
setup pre-commit
circulon 80aeb34
Cleanup
circulon 2df05fa
fixed attach on update
circulon c2d6be6
fixed pre-commit install
circulon e4c8007
fixed CI workflows
circulon 947138b
use pyproject settings
circulon 16aad1a
fixed flak8 install
circulon 97314c5
removed requirements.dev dependency
circulon 2205cf9
removed broken test
circulon ca0cddc
Create and update default cast=True
circulon d7aee47
format
circulon b408ac2
Format & cleanup
circulon 5a37e17
added tests to linting checks
circulon a71aba7
added tests to linting checks
circulon 6172931
Merge branch 'feature/2.0_to_3.0' of https://github.com/circulon/orm …
circulon 8aafcd8
updated cleo version requiremnts
circulon 4970609
updated compatibility versions
circulon 9fcd4d0
Moved Faker to a dev/testing dependency
circulon 8249c22
moved psycopg2 driver check
circulon 09b1e2e
added seeder group to include the faker package
circulon 172f309
Added CHANGELOG
circulon 26c1916
cleaned up casting
circulon 2ca47d3
fixed bulk_create cast defaults to True
circulon df76f2a
only cast if a model is in use
circulon 05c821b
removed non passthrough method name
circulon afafefd
aligned Model.pyi with Model and QueryBuilder
circulon c60865f
removed duplicate method definition
circulon 3be65c7
reordered pre-commit tools
circulon b9ac7e0
Fixed Model autocompletes
circulon 3cc2d51
Made selected config path decision easier to read
circulon bc431bc
Fixed some passthrough methods not hinted correctly
circulon a94de59
db
josephmancuso ab6a9a0
Added comments for clarity of purpose
circulon f2a064f
Fixed Decimal not casting correctly
circulon c304564
updated orm.sqlite3 for tests
circulon 07547a0
added missing arguments
circulon 18ee0f7
Merge branch 'feature/2.0_to_3.0' of https://github.com/circulon/orm …
josephmancuso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
use asdf | ||
layout python |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
repos: | ||
- repo: https://github.com/pycqa/isort | ||
rev: 6.0.1 | ||
hooks: | ||
- id: isort | ||
args: [--profile=black] | ||
exclude: | | ||
(?x)( | ||
^build| | ||
^conda | ||
) | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 25.1.0 | ||
hooks: | ||
- id: black | ||
exclude: | | ||
(?x)( | ||
^build| | ||
^conda | ||
) | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 7.1.2 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: [flake8-pyproject] | ||
exclude: | | ||
(?x)( | ||
^build| | ||
^conda | ||
) |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
python 3.8.10 |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Change Log | ||
|
||
## [3.0.0] - 2025-03-30 | ||
|
||
### Changed | ||
|
||
- Model `create` now always checks for cast values | ||
- `pendulum` version upgrade | ||
|
||
#### Breaking Changes | ||
|
||
- Changed raw expressions placeholder from requiringing explicit quoring per grammar (like this '?') to automaic (like this ?) | ||
- Changed `update` and `delete` methods to return the affected rows instead of the model | ||
- Seeding depencies are now in a separate`[seeder]` extension | ||
- `Factory` class must now be imported from the sub-package `masoniteorm.factories` | ||
|
||
### Fixed | ||
|
||
- Model `update` and `delete` not casting passed values | ||
|
||
|
||
## [2.24.0] - 2025-01-23 | ||
|
||
### Added | ||
|
||
- allow override of model default selects | ||
|
||
## [2.23.2] - 2024-11-29 | ||
|
||
## Added | ||
|
||
- Ability so specify default select criteria for Models | ||
- Add connection pooling to MySQL and Postgres | ||
- PostgresConnection supports SSL and TLS options | ||
|
||
## Fixed | ||
|
||
- `.on_null` and `.on_not_null` had to be last criteria | ||
- Find cannot use scopes | ||
- Fix `has_one_through` relationship not working | ||
- Tests parameter `query=True` should return query builder | ||
- Fix `has_many_through` relationship not working | ||
- Fixed nested relations | ||
|
||
## [2.23.1] - 2024-10-22 | ||
|
||
Maintenance release | ||
|
||
## [2.23.0] - 2024-10-19 | ||
|
||
## Added | ||
|
||
- Updated tests |
This file contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
from src.masoniteorm.connections import ConnectionResolver | ||
|
||
DATABASES = { | ||
"default": "mysql", | ||
"mysql": { | ||
"host": "127.0.0.1", | ||
"driver": "mysql", | ||
"database": "masonite", | ||
"user": "root", | ||
"password": "", | ||
"port": 3306, | ||
"log_queries": False, | ||
"options": { | ||
# | ||
} | ||
}, | ||
"postgres": { | ||
"host": "127.0.0.1", | ||
"driver": "postgres", | ||
"database": "masonite", | ||
"user": "root", | ||
"password": "", | ||
"port": 5432, | ||
"log_queries": False, | ||
"options": { | ||
# | ||
} | ||
}, | ||
"sqlite": { | ||
"driver": "sqlite", | ||
"database": "masonite.sqlite3", | ||
} | ||
} | ||
|
||
DB = ConnectionResolver().set_connection_details(DATABASES) |
This file contains hidden or 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 hidden or 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
Binary file not shown.
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[tool.black] | ||
target-version = ['py38'] | ||
include = '\.pyi?$' | ||
line-length = 79 | ||
|
||
[tool.isort] | ||
profile = "black" | ||
multi_line_output = 3 | ||
include_trailing_comma = true | ||
force_grid_wrap = 0 | ||
use_parentheses = true | ||
ensure_newline_before_comments = true | ||
|
||
[tool.flake8] | ||
ignore = ['E501', 'E203', 'E128', 'E402', 'E731', 'F821', 'E712', 'W503', 'F811'] | ||
#max-line-length = 79 | ||
#max-complexity = 18 | ||
per-file-ignores = [ | ||
'__init__.py:F401', | ||
'setup.py:E266', | ||
] |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[pytest] | ||
env = | ||
D:DB_CONFIG_PATH=config/test-database |
This file contains hidden or 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,13 +1,13 @@ | ||
flake8==3.7.9 | ||
black==19.3b0 | ||
flake8-pyproject | ||
black | ||
isort | ||
faker | ||
pytest | ||
pytest-cov | ||
pymysql | ||
isort | ||
inflection==0.3.1 | ||
inflection>=0.3 | ||
psycopg2-binary | ||
python-dotenv==0.14.0 | ||
python-dotenv>=0.14 | ||
pyodbc | ||
pendulum>=3.0,<4.0 | ||
cleo>=0.8.0,<0.9 | ||
cleo>=0.8.0,<2.0 |
This file contains hidden or 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 hidden or 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,2 +1 @@ | ||
from .models import Model | ||
from .factories.Factory import Factory | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.