* Updated `put` method in `datasets/api.py`:
- changed return statements in put method
- removed disabled pylint rule too-many-return-statements
- removed disabled pylint rule arguments-differ since arguments match
* Removed disabled pylint rule arguments-differ in `delete()` method since arguments match
* Removed global pylintrc rule: bad-continuation. Black repaired it.
* Enable global pylintrc rule: duplicate-code. It might help with providing clean code and future refactors.
* Removed global rule `dict-iter-method` since Python3 doesn't support methods: dict.iterkeys(), itervalues() or iteritems()
* Removing global disabler rule `invalid-unary-operand-type`, because all unary operators are used on objects which supports those operations
* Specified an exceptions in reading cache in `get_df_payload()` method
* Reverted change after review:
- added broad exception in `get_df_payload` method
* Refactored `put` method in dashboards/api.py:
- changed retun statements
- removed lint disabled rule
* `arguments-differ` disabled rule is not anymore valid - put argiments don't differ
* `delete()` method in dashboards/api has now same list of argiments:
- removing unecessary pylint check disabled
* `bulk_delete()` method in dashboards/api has now same list of argiments:
- removing unecessary pylint check disabled
* one simple redirect, as a test
* adding license to header
* painstakingly added SEO redirects!
* addressed feedback and ran lint-fix!
* lets try newline again!
* Revert "lets try newline again!"
This reverts commit 20f89bd23c.
* Revert "Revert "lets try newline again!""
This reverts commit e441edc54a.
* wait... there were TWO newlines?
Co-authored-by: Evan Rusackas <evan@preset.io>
* ignore docs on several actions, give docs its own action
* Random doc change to see if the new action runs.
* umm... not paths-ignore, paths!
* eof fix
* enabling typescript checking on docs
* Removed conflicting lint and isort check in model helpers seems it's not appearing anymore
* Removed disabled linting for accessing private method. `parent_foreign_key_mappings` becomes public because it is accessed by other instance than `self`.
* Updated model's helper - removed unecessary exception and replaced with check while accessing global context to reset ownerships.
* Updated model's helper - renamed unused attribute to private in user link method.
* Updated model's helper - added specific exception for adding extra json column. Removed disabled pylint rule.
* Applied changes after review to `models/helpers.py`:
- removed unecesary function's param rename
- added extra JSON content in exception
* Removed self.extra_json content from exception message.
* Updated common/query_context.py
- removed disabled pylint rule no-self-use from `df_metrics_to_num` since it has `@staticmethod`
- applied black on the file
* Removed disabled lint check `too-many-locals` in get_df_payload method. Applied black.
* Method `get_data()` has self param:
- removing # pylint: disable=no-self-use
- autoformatting
* Refactored put in charts/api.py to have less return statement. Removed pylint rule too-many-return-statements
* Refactored data() in charts/api.py to have less return statement. Removed pylint rule too-many-return-statements
* Pylint disabled arguments-differ check is not necessary anymore in put method
* Pylint disabled arguments-differ check is not necessary anymore in delete method
* Pylint disabled arguments-differ check is not necessary anymore in bulk_delete method. Applied black
* use svg for checkbox component
* add vertical align to svg
* use emotion styling
* update import to superset core
Co-authored-by: Elizabeth Thompson <elizabeth@preset.io>