diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94017c07..25ecf0f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ name: Continuous Integration on: pull_request: - branches: ['**'] + branches: ['**', '!update/**', '!pr/**'] push: - branches: ['**'] + branches: ['**', '!update/**', '!pr/**'] tags: [v*] env: diff --git a/benchmark/src/main/scala/org/typelevel/catbird/benchmark/RerunnableBenchmark.scala b/benchmark/src/main/scala/org/typelevel/catbird/benchmark/RerunnableBenchmark.scala index dd9f80ae..a5309449 100644 --- a/benchmark/src/main/scala/org/typelevel/catbird/benchmark/RerunnableBenchmark.scala +++ b/benchmark/src/main/scala/org/typelevel/catbird/benchmark/RerunnableBenchmark.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.benchmark import com.twitter.util.{ Await, Future, FuturePool } diff --git a/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala b/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala index 7a01d5af..3243f93a 100644 --- a/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala +++ b/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.benchmark import org.scalatest.BeforeAndAfter diff --git a/effect/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala b/effect/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala index 4463a779..de825a3a 100644 --- a/effect/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala +++ b/effect/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.{ Bracket, ExitCase } diff --git a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableClock.scala b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableClock.scala index b8e96f82..e1f0e0b9 100644 --- a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableClock.scala +++ b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableClock.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import java.util.concurrent.TimeUnit diff --git a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableContextShift.scala b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableContextShift.scala index 800a3052..0c87b468 100644 --- a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableContextShift.scala +++ b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableContextShift.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.ContextShift diff --git a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala index 935798cf..59876435 100644 --- a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala +++ b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.{ Effect, ExitCase, IO, SyncIO } diff --git a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableTimer.scala b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableTimer.scala index d7a2a9b9..80d6a0f5 100644 --- a/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableTimer.scala +++ b/effect/src/main/scala/org/typelevel/catbird/util/effect/RerunnableTimer.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.{ Clock, Timer } diff --git a/effect/src/main/scala/org/typelevel/catbird/util/effect/package.scala b/effect/src/main/scala/org/typelevel/catbird/util/effect/package.scala index f17ccd32..c25b4165 100644 --- a/effect/src/main/scala/org/typelevel/catbird/util/effect/package.scala +++ b/effect/src/main/scala/org/typelevel/catbird/util/effect/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.effect.{ Async, ContextShift, ExitCase, IO } diff --git a/effect/src/test/scala/org/typelevel/catbird/util/effect/ContextShiftingSuite.scala b/effect/src/test/scala/org/typelevel/catbird/util/effect/ContextShiftingSuite.scala index 5f40646f..21deea98 100644 --- a/effect/src/test/scala/org/typelevel/catbird/util/effect/ContextShiftingSuite.scala +++ b/effect/src/test/scala/org/typelevel/catbird/util/effect/ContextShiftingSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.{ ContextShift, IO } diff --git a/effect/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala b/effect/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala index c85296fc..a3469bc7 100644 --- a/effect/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala +++ b/effect/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.Eq diff --git a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala index 9b20f753..1d63f389 100644 --- a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala +++ b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import java.time.Instant diff --git a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableContextShiftSuite.scala b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableContextShiftSuite.scala index bf75f2a8..2bbf8ccc 100644 --- a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableContextShiftSuite.scala +++ b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableContextShiftSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.{ ContextShift, IO, Sync } diff --git a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala index 87470578..71a53d85 100644 --- a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala +++ b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.laws.discipline.EffectTests diff --git a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableTimerSuite.scala b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableTimerSuite.scala index 433e618c..f0d56ecc 100644 --- a/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableTimerSuite.scala +++ b/effect/src/test/scala/org/typelevel/catbird/util/effect/RerunnableTimerSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.Timer diff --git a/effect/src/test/scala/org/typelevel/catbird/util/effect/ThreadPoolNamingSupport.scala b/effect/src/test/scala/org/typelevel/catbird/util/effect/ThreadPoolNamingSupport.scala index 11c30f57..cc5d1374 100644 --- a/effect/src/test/scala/org/typelevel/catbird/util/effect/ThreadPoolNamingSupport.scala +++ b/effect/src/test/scala/org/typelevel/catbird/util/effect/ThreadPoolNamingSupport.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import java.lang.{ Runnable, Thread } diff --git a/effect3/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala b/effect3/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala index db405443..18ed77fb 100644 --- a/effect3/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala +++ b/effect3/src/main/scala/org/typelevel/catbird/util/effect/FutureInstances.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.kernel.{ MonadCancel, Outcome } diff --git a/effect3/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala b/effect3/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala index 68daed21..a0e6accc 100644 --- a/effect3/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala +++ b/effect3/src/main/scala/org/typelevel/catbird/util/effect/RerunnableInstances.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.Clock diff --git a/effect3/src/main/scala/org/typelevel/catbird/util/effect/package.scala b/effect3/src/main/scala/org/typelevel/catbird/util/effect/package.scala index 75ac7bac..566803f4 100644 --- a/effect3/src/main/scala/org/typelevel/catbird/util/effect/package.scala +++ b/effect3/src/main/scala/org/typelevel/catbird/util/effect/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.effect.{ Async, IO } diff --git a/effect3/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala b/effect3/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala index 199e0fbb..c3d9b176 100644 --- a/effect3/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala +++ b/effect3/src/test/scala/org/typelevel/catbird/util/effect/FutureSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.Eq diff --git a/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala b/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala index 53ea67e1..2d2d2200 100644 --- a/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala +++ b/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableClockSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import java.time.Instant diff --git a/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala b/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala index 28034536..7b993e03 100644 --- a/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala +++ b/effect3/src/test/scala/org/typelevel/catbird/util/effect/RerunnableSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.effect.MonadCancel diff --git a/effect3/src/test/scala/org/typelevel/catbird/util/effect/Runners.scala b/effect3/src/test/scala/org/typelevel/catbird/util/effect/Runners.scala index bbad00f9..769686a7 100644 --- a/effect3/src/test/scala/org/typelevel/catbird/util/effect/Runners.scala +++ b/effect3/src/test/scala/org/typelevel/catbird/util/effect/Runners.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.effect import cats.Eq diff --git a/finagle/src/main/scala/org/typelevel/catbird/finagle/package.scala b/finagle/src/main/scala/org/typelevel/catbird/finagle/package.scala index 51f1fb8e..dd5c5d58 100644 --- a/finagle/src/main/scala/org/typelevel/catbird/finagle/package.scala +++ b/finagle/src/main/scala/org/typelevel/catbird/finagle/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird package object finagle extends ServiceInstances diff --git a/finagle/src/main/scala/org/typelevel/catbird/finagle/service.scala b/finagle/src/main/scala/org/typelevel/catbird/finagle/service.scala index 6eded719..5229ad97 100644 --- a/finagle/src/main/scala/org/typelevel/catbird/finagle/service.scala +++ b/finagle/src/main/scala/org/typelevel/catbird/finagle/service.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.finagle import cats.arrow.{ Category, Profunctor } diff --git a/finagle/src/test/scala/org/typelevel/catbird/finagle/arbitrary.scala b/finagle/src/test/scala/org/typelevel/catbird/finagle/arbitrary.scala index 2d24d4d5..4c182129 100644 --- a/finagle/src/test/scala/org/typelevel/catbird/finagle/arbitrary.scala +++ b/finagle/src/test/scala/org/typelevel/catbird/finagle/arbitrary.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.finagle import com.twitter.finagle.Service diff --git a/finagle/src/test/scala/org/typelevel/catbird/finagle/eq.scala b/finagle/src/test/scala/org/typelevel/catbird/finagle/eq.scala index a6cd206d..0be5fe78 100644 --- a/finagle/src/test/scala/org/typelevel/catbird/finagle/eq.scala +++ b/finagle/src/test/scala/org/typelevel/catbird/finagle/eq.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.finagle import cats.kernel.Eq diff --git a/finagle/src/test/scala/org/typelevel/catbird/finagle/service.scala b/finagle/src/test/scala/org/typelevel/catbird/finagle/service.scala index 00086c9d..70d0400f 100644 --- a/finagle/src/test/scala/org/typelevel/catbird/finagle/service.scala +++ b/finagle/src/test/scala/org/typelevel/catbird/finagle/service.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.finagle import cats.instances.int._ diff --git a/project/plugins.sbt b/project/plugins.sbt index d6e900aa..b1779c26 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0") -addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.4.9") +addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.4.12") addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3") addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") diff --git a/scalafix/rules/src/main/scala/org/typelevel/catbird/scalafix/CatbirdPackageRename.scala b/scalafix/rules/src/main/scala/org/typelevel/catbird/scalafix/CatbirdPackageRename.scala index 4341a3c2..1b2e95db 100644 --- a/scalafix/rules/src/main/scala/org/typelevel/catbird/scalafix/CatbirdPackageRename.scala +++ b/scalafix/rules/src/main/scala/org/typelevel/catbird/scalafix/CatbirdPackageRename.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.scalafix import scalafix.v1._ diff --git a/scalafix/tests/src/test/scala/org/typelevel/catbird/scalafix/RuleSuite.scala b/scalafix/tests/src/test/scala/org/typelevel/catbird/scalafix/RuleSuite.scala index 00ae6952..79b6a9ca 100644 --- a/scalafix/tests/src/test/scala/org/typelevel/catbird/scalafix/RuleSuite.scala +++ b/scalafix/tests/src/test/scala/org/typelevel/catbird/scalafix/RuleSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.scalafix import scalafix.testkit._ diff --git a/util/src/main/scala/org/typelevel/catbird/util/Rerunnable.scala b/util/src/main/scala/org/typelevel/catbird/util/Rerunnable.scala index 8f1b0b2b..d025143c 100644 --- a/util/src/main/scala/org/typelevel/catbird/util/Rerunnable.scala +++ b/util/src/main/scala/org/typelevel/catbird/util/Rerunnable.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.{ diff --git a/util/src/main/scala/org/typelevel/catbird/util/asyncstream.scala b/util/src/main/scala/org/typelevel/catbird/util/asyncstream.scala index 69b277c1..7347e9cd 100644 --- a/util/src/main/scala/org/typelevel/catbird/util/asyncstream.scala +++ b/util/src/main/scala/org/typelevel/catbird/util/asyncstream.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird package util diff --git a/util/src/main/scala/org/typelevel/catbird/util/future.scala b/util/src/main/scala/org/typelevel/catbird/util/future.scala index 507c0eef..1bda5662 100644 --- a/util/src/main/scala/org/typelevel/catbird/util/future.scala +++ b/util/src/main/scala/org/typelevel/catbird/util/future.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.{ diff --git a/util/src/main/scala/org/typelevel/catbird/util/internal/Newtype1.scala b/util/src/main/scala/org/typelevel/catbird/util/internal/Newtype1.scala index 4280f0d2..2057c353 100644 --- a/util/src/main/scala/org/typelevel/catbird/util/internal/Newtype1.scala +++ b/util/src/main/scala/org/typelevel/catbird/util/internal/Newtype1.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util.internal /** diff --git a/util/src/main/scala/org/typelevel/catbird/util/package.scala b/util/src/main/scala/org/typelevel/catbird/util/package.scala index 8bac8bf8..45ca4bc0 100644 --- a/util/src/main/scala/org/typelevel/catbird/util/package.scala +++ b/util/src/main/scala/org/typelevel/catbird/util/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird package object util extends FutureInstances with TryInstances with VarInstances with AsyncStreamInstances diff --git a/util/src/main/scala/org/typelevel/catbird/util/try.scala b/util/src/main/scala/org/typelevel/catbird/util/try.scala index 7b761a56..3a61e844 100644 --- a/util/src/main/scala/org/typelevel/catbird/util/try.scala +++ b/util/src/main/scala/org/typelevel/catbird/util/try.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.{ Applicative, CoflatMap, Eq, Eval, MonadError, Monoid, Semigroup, Traverse } diff --git a/util/src/main/scala/org/typelevel/catbird/util/var.scala b/util/src/main/scala/org/typelevel/catbird/util/var.scala index ea39fe4c..55db648e 100644 --- a/util/src/main/scala/org/typelevel/catbird/util/var.scala +++ b/util/src/main/scala/org/typelevel/catbird/util/var.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.{ CoflatMap, Comonad, Eq, Monad, Monoid, Semigroup } diff --git a/util/src/test/scala/org/typelevel/catbird/util/CatbirdSuite.scala b/util/src/test/scala/org/typelevel/catbird/util/CatbirdSuite.scala index 3fdb6e34..ad9bc29e 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/CatbirdSuite.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/CatbirdSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import org.scalatest.funsuite.AnyFunSuite diff --git a/util/src/test/scala/org/typelevel/catbird/util/RerunnableSuite.scala b/util/src/test/scala/org/typelevel/catbird/util/RerunnableSuite.scala index fcaf1d40..aa810401 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/RerunnableSuite.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/RerunnableSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.instances.either._ diff --git a/util/src/test/scala/org/typelevel/catbird/util/arbitrary.scala b/util/src/test/scala/org/typelevel/catbird/util/arbitrary.scala index 92a98342..f10a6b54 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/arbitrary.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/arbitrary.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import com.twitter.concurrent.AsyncStream diff --git a/util/src/test/scala/org/typelevel/catbird/util/asyncstream.scala b/util/src/test/scala/org/typelevel/catbird/util/asyncstream.scala index 7fef87d8..78a78055 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/asyncstream.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/asyncstream.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird package util diff --git a/util/src/test/scala/org/typelevel/catbird/util/eq.scala b/util/src/test/scala/org/typelevel/catbird/util/eq.scala index fb649158..d732caed 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/eq.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/eq.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.kernel.Eq diff --git a/util/src/test/scala/org/typelevel/catbird/util/future.scala b/util/src/test/scala/org/typelevel/catbird/util/future.scala index f5cd6d6c..5cd7111f 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/future.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/future.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.instances.either._ diff --git a/util/src/test/scala/org/typelevel/catbird/util/try.scala b/util/src/test/scala/org/typelevel/catbird/util/try.scala index e5b00d4f..d39407c1 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/try.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/try.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.instances.either._ diff --git a/util/src/test/scala/org/typelevel/catbird/util/var.scala b/util/src/test/scala/org/typelevel/catbird/util/var.scala index d1600775..b94fd25e 100644 --- a/util/src/test/scala/org/typelevel/catbird/util/var.scala +++ b/util/src/test/scala/org/typelevel/catbird/util/var.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2022 Typelevel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.typelevel.catbird.util import cats.instances.int._