File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ clean-pyc: ## remove Python file artifacts
17
17
find . -name ' *~' -exec rm -f {} +
18
18
19
19
lint : # # check style with flake8
20
- flake8 django_readonly_field tests
20
+ flake8 --exclude= " migrations,.tox,docs,build " .
21
21
22
22
test : # # run tests quickly with the default Python
23
23
python runtests.py
Original file line number Diff line number Diff line change 1
1
from django .db .models .sql .compiler import SQLCompiler
2
- from django .db .models .sql .compiler import SQLInsertCompiler as BaseSQLInsertCompiler
2
+ from django .db .models .sql .compiler import SQLInsertCompiler as BaseSQLInsertCompiler # noqa
3
3
from django .db .models .sql .compiler import SQLDeleteCompiler
4
- from django .db .models .sql .compiler import SQLUpdateCompiler as BaseSQLUpdateCompiler
4
+ from django .db .models .sql .compiler import SQLUpdateCompiler as BaseSQLUpdateCompiler # noqa
5
5
from django .db .models .sql .compiler import SQLAggregateCompiler
6
6
7
+ SQLCompiler = SQLCompiler
8
+ SQLDeleteCompiler = SQLDeleteCompiler
9
+ SQLAggregateCompiler = SQLAggregateCompiler
10
+
7
11
8
12
class ReadOnlySQLCompilerMixin (object ):
9
13
You can’t perform that action at this time.
0 commit comments